gecko/js/src/configure.in

5549 lines
176 KiB
Plaintext
Raw Normal View History

Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl -*- Mode: Autoconf; tab-width: 4; indent-tabs-mode: nil; -*-
dnl vi: set tabstop=4 shiftwidth=4 expandtab:
dnl ***** BEGIN LICENSE BLOCK *****
dnl Version: MPL 1.1/GPL 2.0/LGPL 2.1
dnl
dnl The contents of this file are subject to the Mozilla Public License Version
dnl 1.1 (the "License"); you may not use this file except in compliance with
dnl the License. You may obtain a copy of the License at
dnl http://www.mozilla.org/MPL/
dnl
dnl Software distributed under the License is distributed on an "AS IS" basis,
dnl WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
dnl for the specific language governing rights and limitations under the
dnl License.
dnl
dnl The Original Code is this file as it was released upon August 6, 1998.
dnl
dnl The Initial Developer of the Original Code is
dnl Christopher Seawood.
dnl Portions created by the Initial Developer are Copyright (C) 1998-2001
dnl the Initial Developer. All Rights Reserved.
dnl
dnl Contributor(s):
dnl Jamie Zawinski <jwz@jwz.org>
dnl gettimeofday args check
dnl Christopher Blizzard <blizzard@appliedtheory.com>
dnl gnomefe update & enable-pthreads
dnl Ramiro Estrugo <ramiro@netscape.com>
dnl X11 makedepend support
dnl Insure support.
dnl Henry Sobotka <sobotka@axess.com>
dnl OS/2 support
dnl Dan Mosedale <dmose@mozilla.org>
dnl LDAP support
dnl Seth Spitzer <sspitzer@netscape.com>
dnl xpctools support
dnl Benjamin Smedberg <benjamin@smedbergs.us>
dnl Howard Chu <hyc@symas.com>
dnl MSYS support
dnl Mark Mentovai <mark@moxienet.com>:
dnl Mac OS X 10.4 support
dnl Giorgio Maone <g.maone@informaction.com>
dnl MSVC l10n compatible version check
dnl Ben Turner <mozilla@songbirdnest.com>
dnl
dnl Alternatively, the contents of this file may be used under the terms of
dnl either the GNU General Public License Version 2 or later (the "GPL"), or
dnl the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
dnl in which case the provisions of the GPL or the LGPL are applicable instead
dnl of those above. If you wish to allow use of your version of this file only
dnl under the terms of either the GPL or the LGPL, and not to allow others to
dnl use your version of this file under the terms of the MPL, indicate your
dnl decision by deleting the provisions above and replace them with the notice
dnl and other provisions required by the GPL or the LGPL. If you do not delete
dnl the provisions above, a recipient may use your version of this file under
dnl the terms of any one of the MPL, the GPL or the LGPL.
dnl
dnl ***** END LICENSE BLOCK *****
dnl Process this file with autoconf to produce a configure script.
dnl ========================================================
AC_PREREQ(2.13)
AC_INIT(jsapi.h)
AC_CONFIG_AUX_DIR(${srcdir}/build/autoconf)
AC_CONFIG_HEADER(js-config.h)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_CANONICAL_SYSTEM
TARGET_CPU="${target_cpu}"
TARGET_VENDOR="${target_vendor}"
TARGET_OS="${target_os}"
dnl ========================================================
dnl =
dnl = Don't change the following two lines. Doing so breaks:
dnl =
dnl = CFLAGS="-foo" ./configure
dnl =
dnl ========================================================
CFLAGS="${CFLAGS=}"
CPPFLAGS="${CPPFLAGS=}"
CXXFLAGS="${CXXFLAGS=}"
LDFLAGS="${LDFLAGS=}"
HOST_CFLAGS="${HOST_CFLAGS=}"
HOST_CXXFLAGS="${HOST_CXXFLAGS=}"
HOST_LDFLAGS="${HOST_LDFLAGS=}"
dnl ========================================================
dnl = Preserve certain environment flags passed to configure
dnl = We want sub projects to receive the same flags
dnl = untainted by this configure script
dnl ========================================================
_SUBDIR_CC="$CC"
_SUBDIR_CXX="$CXX"
_SUBDIR_CFLAGS="$CFLAGS"
_SUBDIR_CPPFLAGS="$CPPFLAGS"
_SUBDIR_CXXFLAGS="$CXXFLAGS"
_SUBDIR_LDFLAGS="$LDFLAGS"
_SUBDIR_HOST_CC="$HOST_CC"
_SUBDIR_HOST_CFLAGS="$HOST_CFLAGS"
_SUBDIR_HOST_CXXFLAGS="$HOST_CXXFLAGS"
_SUBDIR_HOST_LDFLAGS="$HOST_LDFLAGS"
_SUBDIR_CONFIG_ARGS="$ac_configure_args"
dnl Set the version number of the libs included with mozilla
dnl ========================================================
NSPR_VERSION=4
dnl Set the minimum version of toolkit libs used by mozilla
dnl ========================================================
PERL_VERSION=5.006
WINDRES_VERSION=2.14.90
W32API_VERSION=3.8
MSMANIFEST_TOOL=
dnl Set various checks
dnl ========================================================
MISSING_X=
AC_PROG_AWK
dnl Initialize the Pthread test variables early so they can be
dnl overridden by each platform.
dnl ========================================================
USE_PTHREADS=
_PTHREAD_LDFLAGS=""
dnl Do not allow a separate objdir build if a srcdir build exists.
dnl ==============================================================
_topsrcdir=`cd \`dirname $0\`; pwd`
_objdir=`pwd`
if test "$_topsrcdir" != "$_objdir"
then
# Check for a couple representative files in the source tree
_conflict_files=
for file in $_topsrcdir/Makefile $_topsrcdir/config/autoconf.mk; do
if test -f $file; then
_conflict_files="$_conflict_files $file"
fi
done
if test "$_conflict_files"; then
echo "***"
echo "* Your source tree contains these files:"
for file in $_conflict_files; do
echo "* $file"
done
cat 1>&2 <<-EOF
* This indicates that you previously built in the source tree.
* A source tree build can confuse the separate objdir build.
*
* To clean up the source tree:
* 1. cd $_topsrcdir
* 2. gmake distclean
***
EOF
exit 1
break
fi
fi
MOZ_BUILD_ROOT=`pwd`
dnl Choose where to put the 'dist' directory.
dnl ==============================================================
MOZ_ARG_WITH_STRING(dist-dir,
[ --with-dist-dir=DIR Use DIR as 'dist' staging area. DIR may be
relative to the top of SpiderMonkey build tree,
or absolute.],
TOP_DIST=$withval,
TOP_DIST=dist)
AC_SUBST(TOP_DIST)
dnl Default to MSVC for win32 and gcc-4.2 for darwin
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl ==============================================================
if test -z "$CROSS_COMPILE"; then
case "$target" in
*-cygwin*|*-mingw*|*-msvc*|*-mks*)
if test -z "$CC"; then CC=cl; fi
if test -z "$CXX"; then CXX=cl; fi
if test -z "$CPP"; then CPP="cl -E -nologo"; fi
if test -z "$CXXCPP"; then CXXCPP="cl -TP -E -nologo"; ac_cv_prog_CXXCPP="$CXXCPP"; fi
if test -z "$LD"; then LD=link; fi
if test -z "$AS"; then
case "${target_cpu}" in
i*86)
AS=ml;
;;
x86_64)
AS=ml64;
;;
esac
fi
if test -z "$MIDL"; then MIDL=midl; fi
;;
*-darwin*)
if test -z "$CC"; then CC=gcc-4.2; fi
if test -z "$CXX"; then CXX=g++-4.2; fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
;;
esac
fi
COMPILE_ENVIRONMENT=1
MOZ_ARG_ENABLE_BOOL(compile-environment,
[ --disable-compile-environment
Disable compiler/library checks.],
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
COMPILE_ENVIRONMENT=1,
COMPILE_ENVIRONMENT= )
MOZ_ARG_ENABLE_BOOL(shared-js,
[ --disable-shared-js
Do not create a shared library.],
DISABLE_SHARED_JS=0,
DISABLE_SHARED_JS=1)
if test "$DISABLE_SHARED_JS" = "1" ; then
AC_DEFINE(STATIC_EXPORTABLE_JS_API)
else
JS_SHARED_LIBRARY=1
fi
AC_SUBST(JS_SHARED_LIBRARY)
dnl ========================================================
dnl = Android uses a very custom (hacky) toolchain; we need to do this
dnl = here, so that the compiler checks can succeed
dnl ========================================================
MOZ_ARG_WITH_STRING(android-ndk,
[ --with-android-ndk=DIR location where the Android NDK can be found],
android_ndk=$withval)
MOZ_ARG_WITH_STRING(android-toolchain,
[ --with-android-toolchain=DIR
location of the android toolchain, default NDK/build/prebuilt/HOST/arm-eabi-4.4.0],
android_toolchain=$withval)
MOZ_ARG_WITH_STRING(android-version,
[ --with-android-version=VER
android platform version, default 5],
android_version=$withval,
android_version=5)
if test "$target" = "arm-android-eabi" ; then
if test -z "$android_ndk" ; then
AC_MSG_ERROR([You must specify --with-android-ndk=/path/to/ndk when targeting Android.])
fi
if test -z "$android_toolchain" ; then
android_toolchain="$android_ndk"/build/prebuilt/`uname -s | tr "[[:upper:]]" "[[:lower:]]"`-x86/arm-eabi-4.4.0
fi
if test -z "$android_platform" ; then
android_platform="$android_ndk"/build/platforms/android-"$android_version"/arch-"$target_cpu"
fi
dnl set up compilers
AS="$android_toolchain"/bin/arm-eabi-as
CC="$android_toolchain"/bin/arm-eabi-gcc
CXX="$android_toolchain"/bin/arm-eabi-g++
CPP="$android_toolchain"/bin/arm-eabi-cpp
LD="$android_toolchain"/bin/arm-eabi-ld
AR="$android_toolchain"/bin/arm-eabi-ar
RANLIB="$android_toolchain"/bin/arm-eabi-ranlib
STRIP="$android_toolchain"/bin/arm-eabi-strip
CPPFLAGS="-I$android_platform/usr/include $CPPFLAGS"
CFLAGS="-mandroid -I$android_platform/usr/include -msoft-float -fno-short-enums -fno-exceptions $CFLAGS"
CXXFLAGS="-mandroid -std=gnu++0x -I$android_platform/usr/include -msoft-float -fno-short-enums -fno-exceptions $CXXFLAGS"
LDFLAGS="-mandroid -L$android_platform/usr/lib -Wl,-rpath-link=$android_platform/usr/lib --sysroot=$android_platform $LDFLAGS"
dnl prevent cross compile section from using these flags as host flags
if test -z "$HOST_CPPFLAGS" ; then
HOST_CPPFLAGS=" "
fi
if test -z "$HOST_CFLAGS" ; then
HOST_CFLAGS=" "
fi
if test -z "$HOST_CXXFLAGS" ; then
HOST_CXXFLAGS=" "
fi
if test -z "$HOST_LDFLAGS" ; then
HOST_LDFLAGS=" "
fi
# save these for libffi's subconfigure,
# which doesn't know how to figure this stuff out on its own
ANDROID_CFLAGS="$CFLAGS"
ANDROID_CPPFLAGS="$CPPFLAGS"
ANDROID_LDFLAGS="$LDFLAGS"
AC_DEFINE(ANDROID)
AC_DEFINE_UNQUOTED(ANDROID_VERSION, $android_version)
AC_DEFINE(FORCE_LITTLE_ENDIAN)
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl ========================================================
dnl Checks for compilers.
dnl ========================================================
dnl AR_FLAGS set here so HOST_AR_FLAGS can be set correctly (see bug 538269)
AR_FLAGS='cr $@'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
if test "$COMPILE_ENVIRONMENT"; then
if test "$target" != "$host"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
echo "cross compiling from $host to $target"
_SAVE_CC="$CC"
_SAVE_CFLAGS="$CFLAGS"
_SAVE_LDFLAGS="$LDFLAGS"
AC_MSG_CHECKING([for host c compiler])
AC_CHECK_PROGS(HOST_CC, $HOST_CC gcc cc /usr/ucb/cc cl icc, "")
if test -z "$HOST_CC"; then
AC_MSG_ERROR([no acceptable c compiler found in \$PATH])
fi
AC_MSG_RESULT([$HOST_CC])
AC_MSG_CHECKING([for host c++ compiler])
AC_CHECK_PROGS(HOST_CXX, $HOST_CXX $CCC c++ g++ gcc CC cxx cc++ cl icc, "")
if test -z "$HOST_CXX"; then
AC_MSG_ERROR([no acceptable c++ compiler found in \$PATH])
fi
AC_MSG_RESULT([$HOST_CXX])
if test -z "$HOST_CFLAGS"; then
HOST_CFLAGS="$CFLAGS"
fi
if test -z "$HOST_CXXFLAGS"; then
HOST_CXXFLAGS="$CXXFLAGS"
fi
if test -z "$HOST_LDFLAGS"; then
HOST_LDFLAGS="$LDFLAGS"
fi
if test -z "$HOST_AR_FLAGS"; then
HOST_AR_FLAGS="$AR_FLAGS"
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_CHECK_PROGS(HOST_RANLIB, $HOST_RANLIB ranlib, ranlib, :)
AC_CHECK_PROGS(HOST_AR, $HOST_AR ar, ar, :)
CC="$HOST_CC"
CFLAGS="$HOST_CFLAGS"
LDFLAGS="$HOST_LDFLAGS"
AC_MSG_CHECKING([whether the host c compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works])
AC_TRY_COMPILE([], [return(0);],
[ac_cv_prog_hostcc_works=1 AC_MSG_RESULT([yes])],
AC_MSG_ERROR([installation or configuration problem: host compiler $HOST_CC cannot create executables.]) )
CC="$HOST_CXX"
CFLAGS="$HOST_CXXFLAGS"
AC_MSG_CHECKING([whether the host c++ compiler ($HOST_CXX $HOST_CXXFLAGS $HOST_LDFLAGS) works])
AC_TRY_COMPILE([], [return(0);],
[ac_cv_prog_hostcxx_works=1 AC_MSG_RESULT([yes])],
AC_MSG_ERROR([installation or configuration problem: host compiler $HOST_CXX cannot create executables.]) )
CC=$_SAVE_CC
CFLAGS=$_SAVE_CFLAGS
LDFLAGS=$_SAVE_LDFLAGS
case "$build:$target" in
powerpc-apple-darwin8*:i?86-apple-darwin*)
dnl The Darwin cross compiler doesn't necessarily point itself at a
dnl root that has libraries for the proper architecture, it defaults
dnl to the system root. The libraries in the system root on current
dnl versions of PPC OS X 10.4 aren't fat, so these target compiler
dnl checks will fail. Fake a working SDK in that case.
_SAVE_CFLAGS=$CFLAGS
_SAVE_CXXFLAGS=$CXXLAGS
CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk $CFLAGS"
CXXFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk $CXXFLAGS"
;;
esac
case "$target" in
*symbian*)
AC_ARG_WITH(symbian-sdk,
[ --with-symbian-sdk=SYMBIAN_SDK_DIR
The path to the Symbian SDK],
SYMBIAN_SDK_DIR=$withval)
OS_EXE_CFLAGS="$OS_EXE_CFLAGS -D__EXE__"
CFLAGS="-MD -nostdinc"
SYMBIAN_SYS_INCLUDE="-I$SYMBIAN_SDK_DIR/Epoc32/include -I$SYMBIAN_SDK_DIR/Epoc32/include/variant -I$SYMBIAN_SDK_DIR/Epoc32/include/stdapis"
case "$target" in
*-symbianelf)
OS_TARGET=GCCE
CC=arm-none-symbianelf-gcc.exe
CXX=arm-none-symbianelf-g++.exe
LD=arm-none-symbianelf-ld.exe
AR=arm-none-symbianelf-ar.exe
CPP=arm-none-symbianelf-cpp.exe
CFLAGS="$CFLAGS -c -Wall -Wno-unknown-pragmas -fexceptions -march=armv5t -mapcs -pipe -msoft-float"
CXXFLAGS="$CFLAGS -Wno-ctor-dtor-privacy"
GCCE_INCLUDE="-include $SYMBIAN_SDK_DIR/EPOC32/INCLUDE/GCCE/GCCE.h -D__PRODUCT_INCLUDE__=$SYMBIAN_SDK_DIR/Epoc32/include/variant/Symbian_OS_v9.2.hrh"
CFLAGS="$CFLAGS ${GCCE_INCLUDE} -x c"
CXXFLAGS="$CXXFLAGS ${GCCE_INCLUDE} -x c++"
CPPFLAGS="$CPPFLAGS ${SYMBIAN_SYS_INCLUDE}"
;;
*-symbianwinscw)
dnl TODO: add emulator build code
OS_TARGET=WINSCW
;;
esac
;;
esac
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_CHECK_PROGS(CC, $CC "${target_alias}-gcc" "${target}-gcc", :)
unset ac_cv_prog_CC
AC_PROG_CC
AC_CHECK_PROGS(CXX, $CXX "${target_alias}-g++" "${target}-g++", :)
unset ac_cv_prog_CXX
AC_PROG_CXX
case "$build:$target" in
powerpc-apple-darwin8*:i?86-apple-darwin*)
dnl Revert the changes made above. From this point on, the target
dnl compiler will never be used without applying the SDK to CFLAGS
dnl (see --with-macos-sdk below).
CFLAGS=$_SAVE_CFLAGS
CXXFLAGS=$_SAVE_CXXFLAGS
;;
esac
AC_CHECK_PROGS(RANLIB, $RANLIB "${target_alias}-ranlib" "${target}-ranlib", :)
AC_CHECK_PROGS(AR, $AR "${target_alias}-ar" "${target}-ar", :)
MOZ_PATH_PROGS(AS, $AS "${target_alias}-as" "${target}-as", :)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_CHECK_PROGS(LD, $LD "${target_alias}-ld" "${target}-ld", :)
AC_CHECK_PROGS(STRIP, $STRIP "${target_alias}-strip" "${target}-strip", :)
AC_CHECK_PROGS(WINDRES, $WINDRES "${target_alias}-windres" "${target}-windres", :)
AC_DEFINE(CROSS_COMPILE)
dnl If we cross compile for ppc on Mac OS X x86, cross_compiling will
dnl have erroneously been set to "no", because the x86 build host is
dnl able to run ppc code in a translated environment, making a cross
dnl compiler appear native. So we override that here.
cross_compiling=yes
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
else
AC_PROG_CC
AC_PROG_CXX
AC_PROG_RANLIB
MOZ_PATH_PROGS(AS, $AS as, $CC)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_CHECK_PROGS(AR, ar, :)
AC_CHECK_PROGS(LD, ld, :)
AC_CHECK_PROGS(STRIP, strip, :)
AC_CHECK_PROGS(WINDRES, windres, :)
if test -z "$HOST_CC"; then
HOST_CC='$(CC)'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
if test -z "$HOST_CFLAGS"; then
HOST_CFLAGS='$(CFLAGS)'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
if test -z "$HOST_CXX"; then
HOST_CXX='$(CXX)'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
if test -z "$HOST_CXXFLAGS"; then
HOST_CXXFLAGS='$(CXXFLAGS)'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
if test -z "$HOST_LDFLAGS"; then
HOST_LDFLAGS='$(LDFLAGS)'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
if test -z "$HOST_RANLIB"; then
HOST_RANLIB='$(RANLIB)'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
if test -z "$HOST_AR"; then
HOST_AR='$(AR)'
fi
if test -z "$HOST_AR_FLAGS"; then
HOST_AR_FLAGS='$(AR_FLAGS)'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
fi
GNU_AS=
GNU_LD=
GNU_CC=
GNU_CXX=
CC_VERSION='N/A'
CXX_VERSION='N/A'
if test "$GCC" = "yes"; then
GNU_CC=1
CC_VERSION=`$CC -v 2>&1 | grep 'gcc version'`
fi
if test "$GXX" = "yes"; then
GNU_CXX=1
CXX_VERSION=`$CXX -v 2>&1 | grep 'gcc version'`
fi
if test "`echo | $AS -v 2>&1 | grep -c GNU`" != "0"; then
GNU_AS=1
fi
if test "`echo | $LD -v 2>&1 | grep -c GNU`" != "0"; then
GNU_LD=1
fi
if test "$GNU_CC"; then
if `$CC -print-prog-name=ld` -v 2>&1 | grep -c GNU >/dev/null; then
GCC_USE_GNU_LD=1
fi
fi
INTEL_CC=
INTEL_CXX=
if test "$GCC" = yes; then
if test "`$CC -help 2>&1 | grep -c 'Intel(R) C++ Compiler'`" != "0"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
INTEL_CC=1
fi
fi
if test "$GXX" = yes; then
if test "`$CXX -help 2>&1 | grep -c 'Intel(R) C++ Compiler'`" != "0"; then
INTEL_CXX=1
fi
fi
dnl Special win32 checks
dnl ========================================================
case "$target" in
*-wince|*-winmo)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
WINVER=500
;;
*)
if test -n "$GNU_CC"; then
WINVER=501
else
WINVER=500
fi
;;
esac
case "$target" in
*-cygwin*|*-mingw*|*-msvc*|*-mks*|*-wince|*-winmo)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
if test "$GCC" != "yes"; then
# Check to see if we are really running in a msvc environemnt
_WIN32_MSVC=1
# Make sure compilers are valid
CFLAGS="$CFLAGS -TC -nologo"
CXXFLAGS="$CXXFLAGS -TP -nologo"
# MSVC warning C4345 warns of newly conformant behavior as of VS2003.
# MSVC warning C4800 is ubiquitous, useless, and annoying.
CXXFLAGS="$CXXFLAGS -wd4345 -wd4800"
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_LANG_SAVE
AC_LANG_C
AC_TRY_COMPILE([#include <stdio.h>],
[ printf("Hello World\n"); ],,
AC_MSG_ERROR([\$(CC) test failed. You must have MS VC++ in your path to build.]) )
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE([#include <new.h>],
[ unsigned *test = new unsigned(42); ],,
AC_MSG_ERROR([\$(CXX) test failed. You must have MS VC++ in your path to build.]) )
AC_LANG_RESTORE
changequote(,)
_MSVC_VER_FILTER='s|.* ([0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?).*|\1|p'
changequote([,])
# Determine compiler version
CC_VERSION=`"${CC}" -v 2>&1 | sed -nre "$_MSVC_VER_FILTER"`
_CC_MAJOR_VERSION=`echo ${CC_VERSION} | $AWK -F\. '{ print $1 }'`
_CC_MINOR_VERSION=`echo ${CC_VERSION} | $AWK -F\. '{ print $2 }'`
_CC_RELEASE=`echo ${CC_VERSION} | $AWK -F\. '{ print $3 }'`
_CC_BUILD=`echo ${CC_VERSION} | $AWK -F\. '{ print $4 }'`
_MSC_VER=${_CC_MAJOR_VERSION}${_CC_MINOR_VERSION}
CXX_VERSION=`"${CXX}" -v 2>&1 | sed -nre "$_MSVC_VER_FILTER"`
_CXX_MAJOR_VERSION=`echo ${CXX_VERSION} | $AWK -F\. '{ print $1 }'`
if test "$_CC_MAJOR_VERSION" != "$_CXX_MAJOR_VERSION"; then
AC_MSG_ERROR([The major versions of \$CC and \$CXX do not match.])
fi
if test "$_CC_MAJOR_VERSION" = "13"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
_CC_SUITE=7
elif test "$_CC_MAJOR_VERSION" = "14"; then
_CC_SUITE=8
CXXFLAGS="$CXXFLAGS -Zc:wchar_t-"
dnl -DYNAMICBASE is only supported on VC8SP1 or newer,
dnl so be very specific here!
dnl VC8 is 14.00.50727.42, VC8SP1 is 14.00.50727.762
if test $_CC_RELEASE -gt 50727; then
_USE_DYNAMICBASE=1
elif test $_CC_BUILD -ge 762; then
_USE_DYNAMICBASE=1
fi
AC_DEFINE(_CRT_SECURE_NO_DEPRECATE)
AC_DEFINE(_CRT_NONSTDC_NO_DEPRECATE)
elif test "$_CC_MAJOR_VERSION" = "15"; then
_CC_SUITE=9
CXXFLAGS="$CXXFLAGS -Zc:wchar_t-"
_USE_DYNAMICBASE=1
AC_DEFINE(_CRT_SECURE_NO_WARNINGS)
AC_DEFINE(_CRT_NONSTDC_NO_WARNINGS)
elif test "$_CC_MAJOR_VERSION" = "16"; then
_CC_SUITE=10
CXXFLAGS="$CXXFLAGS -Zc:wchar_t-"
_USE_DYNAMICBASE=1
AC_DEFINE(_CRT_SECURE_NO_WARNINGS)
AC_DEFINE(_CRT_NONSTDC_NO_WARNINGS)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
else
AC_MSG_ERROR([This version of the MSVC compiler, $CC_VERSION , is unsupported.])
fi
_MOZ_RTTI_FLAGS_ON='-GR'
_MOZ_RTTI_FLAGS_OFF='-GR-'
_MOZ_EXCEPTIONS_FLAGS_ON='-EHsc'
_MOZ_EXCEPTIONS_FLAGS_OFF=''
if test -n "$WIN32_REDIST_DIR"; then
WIN32_REDIST_DIR=`cd "$WIN32_REDIST_DIR" && pwd`
fi
# bug #249782
# ensure that mt.exe is Microsoft (R) Manifest Tool and not magnetic tape manipulation utility (or something else)
if test "$_CC_SUITE" -ge "8"; then
changequote(,)
_MSMT_VER_FILTER='s|.* \([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*|\1|p'
changequote([,])
MSMT_TOOL=`mt 2>&1|grep 'Microsoft (R) Manifest Tool'`
if test -n "$MSMT_TOOL"; then
MSMANIFEST_TOOL_VERSION=`echo ${MSMT_TOOL}|sed -ne "$_MSMT_VER_FILTER"`
if test -z "$MSMANIFEST_TOOL_VERSION"; then
AC_MSG_WARN([Unknown version of the Microsoft (R) Manifest Tool.])
fi
MSMANIFEST_TOOL=1
unset MSMT_TOOL
else
AC_MSG_ERROR([Microsoft (R) Manifest Tool must be in your \$PATH.])
fi
fi
# Check linker version
_LD_FULL_VERSION=`"${LD}" -v 2>&1 | sed -nre "$_MSVC_VER_FILTER"`
_LD_MAJOR_VERSION=`echo ${_LD_FULL_VERSION} | $AWK -F\. '{ print $1 }'`
if test "$_LD_MAJOR_VERSION" != "$_CC_SUITE"; then
AC_MSG_ERROR([The linker major version, $_LD_FULL_VERSION, does not match the compiler suite version, $_CC_SUITE.])
fi
INCREMENTAL_LINKER=1
unset _MSVC_VER_FILTER
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
else
# Check w32api version
_W32API_MAJOR_VERSION=`echo $W32API_VERSION | $AWK -F\. '{ print $1 }'`
_W32API_MINOR_VERSION=`echo $W32API_VERSION | $AWK -F\. '{ print $2 }'`
AC_MSG_CHECKING([for w32api version >= $W32API_VERSION])
AC_TRY_COMPILE([#include <w32api.h>],
#if (__W32API_MAJOR_VERSION < $_W32API_MAJOR_VERSION) || \
(__W32API_MAJOR_VERSION == $_W32API_MAJOR_VERSION && \
__W32API_MINOR_VERSION < $_W32API_MINOR_VERSION)
#error "test failed."
#endif
, [ res=yes ], [ res=no ])
AC_MSG_RESULT([$res])
if test "$res" != "yes"; then
AC_MSG_ERROR([w32api version $W32API_VERSION or higher required.])
fi
# Check windres version
AC_MSG_CHECKING([for windres version >= $WINDRES_VERSION])
_WINDRES_VERSION=`${WINDRES} --version 2>&1 | grep -i windres 2>/dev/null | $AWK '{ print $3 }'`
AC_MSG_RESULT([$_WINDRES_VERSION])
_WINDRES_MAJOR_VERSION=`echo $_WINDRES_VERSION | $AWK -F\. '{ print $1 }'`
_WINDRES_MINOR_VERSION=`echo $_WINDRES_VERSION | $AWK -F\. '{ print $2 }'`
_WINDRES_RELEASE_VERSION=`echo $_WINDRES_VERSION | $AWK -F\. '{ print $3 }'`
WINDRES_MAJOR_VERSION=`echo $WINDRES_VERSION | $AWK -F\. '{ print $1 }'`
WINDRES_MINOR_VERSION=`echo $WINDRES_VERSION | $AWK -F\. '{ print $2 }'`
WINDRES_RELEASE_VERSION=`echo $WINDRES_VERSION | $AWK -F\. '{ print $3 }'`
if test "$_WINDRES_MAJOR_VERSION" -lt "$WINDRES_MAJOR_VERSION" -o \
"$_WINDRES_MAJOR_VERSION" -eq "$WINDRES_MAJOR_VERSION" -a \
"$_WINDRES_MINOR_VERSION" -lt "$WINDRES_MINOR_VERSION" -o \
"$_WINDRES_MAJOR_VERSION" -eq "$WINDRES_MAJOR_VERSION" -a \
"$_WINDRES_MINOR_VERSION" -eq "$WINDRES_MINOR_VERSION" -a \
"$_WINDRES_RELEASE_VERSION" -lt "$WINDRES_RELEASE_VERSION"
then
AC_MSG_ERROR([windres version $WINDRES_VERSION or higher is required to build.])
fi
fi # !GNU_CC
AC_DEFINE_UNQUOTED(WINVER,0x$WINVER)
AC_DEFINE_UNQUOTED(_WIN32_WINNT,0x$WINVER)
# Require OS features provided by IE 5.0
AC_DEFINE_UNQUOTED(_WIN32_IE,0x0500)
;;
esac
dnl Test breaks icc on OS/2 && MSVC
if test "$CC" != "icc" -a -z "$_WIN32_MSVC"; then
AC_PROG_CC_C_O
if grep "NO_MINUS_C_MINUS_O 1" ./confdefs.h >/dev/null; then
USING_HCC=1
_OLDCC=$CC
_OLDCXX=$CXX
CC="${srcdir}/build/hcc '$CC'"
CXX="${srcdir}/build/hcpp '$CXX'"
fi
fi
AC_PROG_CPP
AC_PROG_CXXCPP
if test -n "$_WIN32_MSVC"; then
SKIP_PATH_CHECKS=1
SKIP_COMPILER_CHECKS=1
SKIP_LIBRARY_CHECKS=1
# Since we're skipping compiler and library checks, hard-code
# some facts here.
# Common to all MSVC environments:
# Windows lacks <stdint.h>, but has __int8, and so on.
AC_DEFINE(JS_HAVE___INTN)
AC_DEFINE(HAVE_LOCALECONV)
case "$target" in
*-wince|*-winmo)
AC_DEFINE(HAVE_SYSTEMTIMETOFILETIME)
AC_DEFINE(JS_CRTDEFS_H_HAS_INTPTR_T)
;;
*)
AC_DEFINE(HAVE_SYSTEMTIMETOFILETIME)
AC_DEFINE(HAVE_GETSYSTEMTIMEASFILETIME)
# Windows <stddef.h> defines intptr_t and uintptr_t.
# VS2005: http://msdn.microsoft.com/en-us/library/323b6b3k(VS.80).aspx
# VS2008: http://msdn.microsoft.com/en-us/library/323b6b3k.aspx
AC_DEFINE(JS_STDDEF_H_HAS_INTPTR_T)
;;
esac
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
fi # COMPILE_ENVIRONMENT
if test "$cross_compiling" = "yes"; then
CROSS_COMPILE=1
else
CROSS_COMPILE=
fi
# Check to see if we are running in a broken QEMU scratchbox.
# We know that anything below 1.0.16 is broken.
AC_CHECK_PROGS(SBCONF, sb-conf ve, "")
2010-03-10 02:28:16 -08:00
if test -n "$SBCONF"; then
_sb_version=`$SBCONF ve`
_sb_version_major=`echo $_sb_version | cut -f1 -d.`
_sb_version_minor=`echo $_sb_version | cut -f2 -d.`
_sb_version_point=`echo $_sb_version | cut -f3 -d.`
2010-07-19 22:43:54 -07:00
if test $_sb_version_major -eq 1 -a $_sb_version_minor -eq 0 -a $_sb_version_point -le 16; then
QEMU_CANT_RUN_JS_SHELL=1
fi
fi
AC_SUBST(QEMU_CANT_RUN_JS_SHELL)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_SUBST(_MSC_VER)
AC_SUBST(GNU_AS)
AC_SUBST(GNU_LD)
AC_SUBST(GNU_CC)
AC_SUBST(GNU_CXX)
AC_SUBST(INTEL_CC)
AC_SUBST(INTEL_CXX)
dnl ========================================================
dnl Checks for programs.
dnl ========================================================
AC_PROG_INSTALL
AC_PROG_LN_S
MOZ_PATH_PROGS(PERL, $PERL perl5 perl )
2010-07-19 22:43:54 -07:00
if test -z "$PERL" -o "$PERL" = ":"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_MSG_ERROR([perl not found in \$PATH])
fi
if test -z "$TINDERBOX_SKIP_PERL_VERSION_CHECK"; then
AC_MSG_CHECKING([for minimum required perl version >= $PERL_VERSION])
_perl_version=`PERL_VERSION=$PERL_VERSION $PERL -e 'print "$]"; if ($] >= $ENV{PERL_VERSION}) { exit(0); } else { exit(1); }' 2>&5`
_perl_res=$?
AC_MSG_RESULT([$_perl_version])
if test "$_perl_res" != 0; then
AC_MSG_ERROR([Perl $PERL_VERSION or higher is required.])
fi
fi
AC_MSG_CHECKING([for full perl installation])
_perl_archlib=`$PERL -e 'use Config; if ( -d $Config{archlib} ) { exit(0); } else { exit(1); }' 2>&5`
_perl_res=$?
if test "$_perl_res" != 0; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([Cannot find Config.pm or \$Config{archlib}. A full perl installation is required.])
else
AC_MSG_RESULT([yes])
fi
MOZ_PATH_PROGS(PYTHON, $PYTHON python)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
if test -z "$PYTHON"; then
AC_MSG_ERROR([python was not found in \$PATH])
fi
if test -z "$COMPILE_ENVIRONMENT"; then
NSINSTALL_BIN='$(PYTHON) $(topsrcdir)/config/nsinstall.py'
fi
AC_SUBST(NSINSTALL_BIN)
MOZ_PATH_PROG(DOXYGEN, doxygen, :)
MOZ_PATH_PROG(AUTOCONF, autoconf, :)
MOZ_PATH_PROG(UNZIP, unzip, :)
MOZ_PATH_PROGS(ZIP, zip)
2010-07-19 22:43:54 -07:00
if test -z "$ZIP" -o "$ZIP" = ":"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_MSG_ERROR([zip not found in \$PATH])
fi
MOZ_PATH_PROG(SYSTEM_MAKEDEPEND, makedepend)
MOZ_PATH_PROG(XARGS, xargs)
2010-07-19 22:43:54 -07:00
if test -z "$XARGS" -o "$XARGS" = ":"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_MSG_ERROR([xargs not found in \$PATH .])
fi
if test "$COMPILE_ENVIRONMENT"; then
dnl ========================================================
dnl = Mac OS X toolchain support
dnl ========================================================
case "$target_os" in
darwin*)
dnl Current known valid versions for GCC_VERSION are 2.95.2 3.1 3.3 4.0.
dnl 4.0 identifies itself as 4.0.x, so strip the decidecimal for
dnl the environment and includedir purposes (when using an SDK, below),
dnl but remember the full version number for the libdir (SDK).
changequote(,)
GCC_VERSION_FULL=`echo $CXX_VERSION | $PERL -pe 's/^.*gcc version ([^ ]*).*/$1/'`
GCC_VERSION=`echo $GCC_VERSION_FULL | $PERL -pe '(split(/\./))[0]>=4&&s/(^\d*\.\d*).*/$1/;'`
changequote([,])
if test "$GCC_VERSION_FULL" = "4.0.0" ; then
dnl Bug 280479, but this keeps popping up in bug 292530 too because
dnl 4.0.0/4061 is the default compiler in Tiger.
changequote(,)
GCC_BUILD=`echo $CXX_VERSION | $PERL -pe 's/^.*build ([^ )]*).*/$1/'`
changequote([,])
if test "$GCC_BUILD" = "4061" ; then
AC_MSG_ERROR([You are attempting to use Apple gcc 4.0 build 4061.
This compiler was supplied with Xcode 2.0, and contains bugs that prevent it
from building Mozilla. Upgrade to Xcode 2.1 or later.])
fi
fi
dnl xcodebuild needs GCC_VERSION defined in the environment, since it
dnl doesn't respect the CC/CXX setting. With GCC_VERSION set, it will use
dnl /usr/bin/g(cc|++)-$GCC_VERSION.
MOZ_PATH_PROGS(PBBUILD, pbbuild xcodebuild pbxbuild)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
case "$PBBUILD" in
*xcodebuild*)
changequote(,)
XCODEBUILD_VERSION=`$PBBUILD -version 2>/dev/null | xargs | sed -e 's/.*DevToolsCore-\([0-9]*\).*/\1/'`
changequote([,])
2010-07-19 22:43:54 -07:00
if test -n "$XCODEBUILD_VERSION" -a "$XCODEBUILD_VERSION" -ge 620 ; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
HAS_XCODE_2_1=1;
fi
;;
esac
dnl sdp was formerly in /Developer/Tools. As of Mac OS X 10.4 (Darwin 8),
dnl it has moved into /usr/bin.
MOZ_PATH_PROG(SDP, sdp, :, [$PATH:/usr/bin:/Developer/Tools])
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
;;
esac
AC_SUBST(GCC_VERSION)
AC_SUBST(XCODEBUILD_VERSION)
AC_SUBST(HAS_XCODE_2_1)
dnl The universal machinery sets UNIVERSAL_BINARY to inform packager.mk
dnl that a universal binary is being produced.
AC_SUBST(UNIVERSAL_BINARY)
dnl ========================================================
dnl Check for MacOS deployment target version
dnl ========================================================
MOZ_ARG_ENABLE_STRING(macos-target,
[ --enable-macos-target=VER (default=10.4)
Set the minimum MacOS version needed at runtime],
[_MACOSX_DEPLOYMENT_TARGET=$enableval])
case "$target" in
*-darwin*)
if test -n "$_MACOSX_DEPLOYMENT_TARGET" ; then
dnl Use the specified value
export MACOSX_DEPLOYMENT_TARGET=$_MACOSX_DEPLOYMENT_TARGET
AC_DEFINE_UNQUOTED(__ENVIRONMENT_MAC_OS_X_VERION_MIN_REQUIRED__,$_MACOSX_DEPLOYMENT_TARGET)
elif test -z "$MACOSX_DEPLOYMENT_TARGET" ; then
dnl No value specified on the command line or in the environment,
dnl use the lesser of the application's minimum or the architecture's
dnl minimum.
export MACOSX_DEPLOYMENT_TARGET=10.4
fi
;;
esac
AC_SUBST(MACOSX_DEPLOYMENT_TARGET)
dnl ========================================================
dnl = Mac OS X SDK support
dnl ========================================================
MACOS_SDK_DIR=
NEXT_ROOT=
MOZ_ARG_WITH_STRING(macos-sdk,
[ --with-macos-sdk=dir Location of platform SDK to use (Mac OS X only)],
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
MACOS_SDK_DIR=$withval)
dnl MACOS_SDK_DIR will be set to the SDK location whenever one is in use.
dnl NEXT_ROOT will be set and exported only if it's needed.
AC_SUBST(MACOS_SDK_DIR)
AC_SUBST(NEXT_ROOT)
if test "$MACOS_SDK_DIR"; then
dnl Sync this section with the ones in NSPR and NSS.
dnl Changes to the cross environment here need to be accounted for in
dnl the libIDL checks (below) and xpidl build.
if test ! -d "$MACOS_SDK_DIR"; then
AC_MSG_ERROR([SDK not found. When using --with-macos-sdk, you must
specify a valid SDK. SDKs are installed when the optional cross-development
tools are selected during the Xcode/Developer Tools installation.])
fi
GCC_VERSION_MAJOR=`echo $GCC_VERSION_FULL | $PERL -pe 's/(^\d*).*/$1/;'`
if test "$GCC_VERSION_MAJOR" -lt "4" ; then
AC_MSG_ERROR([You need to upgrade the compiler version to 4.x])
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
else
CFLAGS="$CFLAGS -isysroot ${MACOS_SDK_DIR}"
CXXFLAGS="$CXXFLAGS -isysroot ${MACOS_SDK_DIR}"
dnl CPP/CXXCPP needs to be set for AC_CHECK_HEADER.
CPP="$CPP -isysroot ${MACOS_SDK_DIR}"
CXXCPP="$CXXCPP -isysroot ${MACOS_SDK_DIR}"
if test "$GCC_VERSION_FULL" = "4.0.0" ; then
dnl If gcc >= 4.0, we're guaranteed to be on Tiger, which has an ld
dnl that supports -syslibroot. Don't set NEXT_ROOT because it will
dnl be ignored and cause warnings when -syslibroot is specified.
dnl gcc 4.0.1 will pass -syslibroot to ld automatically based on
dnl the -isysroot it receives, so this is only needed with 4.0.0.
LDFLAGS="$LDFLAGS -Wl,-syslibroot,${MACOS_SDK_DIR}"
fi
fi
AC_LANG_SAVE
AC_MSG_CHECKING([for valid compiler/Mac OS X SDK combination])
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE([#include <new>
int main() { return 0; }],
result=yes,
result=no)
AC_LANG_RESTORE
AC_MSG_RESULT($result)
if test "$result" = "no" ; then
AC_MSG_ERROR([The selected compiler and Mac OS X SDK are incompatible.])
fi
fi
fi # COMPILE_ENVIRONMENT
if test -z "$MAKE"; then
case "$host_os" in
cygwin*|mingw*|mks*|msvc*)
MOZ_PATH_PROGS(MAKE, $MAKE make gmake, :)
;;
*)
MOZ_PATH_PROGS(MAKE, $MAKE gmake make, :)
;;
esac
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
if test "$COMPILE_ENVIRONMENT"; then
AC_PATH_XTRA
XCFLAGS="$X_CFLAGS"
fi # COMPILE_ENVIRONMENT
dnl ========================================================
dnl set the defaults first
dnl ========================================================
AS_BIN=$AS
AR_LIST='$(AR) t'
AR_EXTRACT='$(AR) x'
AR_DELETE='$(AR) d'
AS='$(CC)'
AS_DASH_C_FLAG='-c'
DLL_PREFIX=lib
LIB_PREFIX=lib
DLL_SUFFIX=.so
OBJ_SUFFIX=o
LIB_SUFFIX=a
ASM_SUFFIX=s
IMPORT_LIB_SUFFIX=
TARGET_MD_ARCH=unix
DIRENT_INO=d_ino
CYGWIN_WRAPPER=
WIN_TOP_SRC=
MOZ_USER_DIR=".mozilla"
MOZ_JS_LIBS='-L$(libdir) -lmozjs'
MOZ_FIX_LINK_PATHS='-Wl,-rpath-link,$(LIBXUL_DIST)/bin -Wl,-rpath-link,$(PREFIX)/lib'
MOZ_COMPONENT_NSPR_LIBS='-L$(LIBXUL_DIST)/bin $(NSPR_LIBS)'
USE_DEPENDENT_LIBS=1
_PLATFORM_DEFAULT_TOOLKIT=cairo-gtk2
MOZ_THUMB2=
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
if test -n "$CROSS_COMPILE"; then
OS_TARGET="${target_os}"
OS_ARCH=`echo $target_os | sed -e 's|/|_|g'`
OS_RELEASE=
case "${target_os}" in
linux*) OS_ARCH=Linux OS_TARGET=Linux ;;
kfreebsd*-gnu) OS_ARCH=GNU_kFreeBSD OS_TARGET=GNU_kFreeBSD ;;
gnu*) OS_ARCH=GNU ;;
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
solaris*) OS_ARCH=SunOS OS_RELEASE=5 ;;
mingw*) OS_ARCH=WINNT ;;
wince*) OS_ARCH=WINCE ;;
winmo*) OS_ARCH=WINCE ;;
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
darwin*) OS_ARCH=Darwin OS_TARGET=Darwin ;;
esac
else
OS_TARGET=`uname -s`
OS_ARCH=`uname -s | sed -e 's|/|_|g'`
OS_RELEASE=`uname -r`
fi
# Before this used `uname -m` when not cross compiling
# but that breaks when you have a 64 bit kernel with a 32 bit userland.
OS_TEST="${target_cpu}"
_COMPILER_PREFIX=
HOST_OS_ARCH=`echo $host_os | sed -e 's|/|_|g'`
#######################################################################
# Master "Core Components" macros for getting the OS target #
#######################################################################
#
# If OS_TARGET is not specified, it defaults to $(OS_ARCH), i.e., no
# cross-compilation.
#
#
# Define and override various archtecture-specific variables, including
# HOST_OS_ARCH
# OS_ARCH
# OS_TEST
# OS_TARGET
# OS_RELEASE
# OS_MINOR_RELEASE
#
case "$HOST_OS_ARCH" in
cygwin*|mingw*|mks*|msvc*)
HOST_OS_ARCH=WINNT
;;
linux*)
HOST_OS_ARCH=Linux
;;
solaris*)
HOST_OS_ARCH=SunOS
SOLARIS_SUNPRO_CC=
SOLARIS_SUNPRO_CXX=
if test -z "$GNU_CC"; then
if test "`$CC -V 2>&1 | egrep -c 'Sun.*C '`" != "0"; then
SOLARIS_SUNPRO_CC=1
fi
fi
if test -z "$GNU_CXX"; then
if test "`$CXX -V 2>&1 | egrep -c 'Sun.*C\+\+ '`" != "0"; then
SOLARIS_SUNPRO_CXX=1
fi
fi
AC_SUBST(SOLARIS_SUNPRO_CC)
AC_SUBST(SOLARIS_SUNPRO_CXX)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
;;
BSD_386)
HOST_OS_ARCH=BSD
;;
dgux)
HOST_OS_ARCH=DGUX
;;
IRIX64)
HOST_OS_ARCH=IRIX
;;
UNIX_SV)
if "`cat /etc/bcheckrc | grep -c NCR 2>/dev/null`" != "0"; then
HOST_OS_ARCH=NCR
else
HOST_OS_ARCH=UNIXWARE
fi
;;
ncr)
HOST_OS_ARCH=NCR
;;
UNIX_SYSTEM_V)
HOST_OS_ARCH=NEC
;;
OSF1)
;;
*OpenVMS*)
HOST_OS_ARCH=OpenVMS
;;
OS_2)
HOST_OS_ARCH=OS2
;;
QNX)
;;
SCO_SV)
HOST_OS_ARCH=SCOOS
;;
SINIX-N | SINIX-Y | SINIX-Z |ReliantUNIX-M)
HOST_OS_ARCH=SINIX
;;
UnixWare)
HOST_OS_ARCH=UNIXWARE
;;
esac
case "$OS_ARCH" in
WINNT)
OS_TEST=`uname -p`
;;
Windows_NT)
#
# If uname -s returns "Windows_NT", we assume that we are using
# the uname.exe in MKS toolkit.
#
# The -r option of MKS uname only returns the major version number.
# So we need to use its -v option to get the minor version number.
# Moreover, it doesn't have the -p option, so we need to use uname -m.
#
OS_ARCH=WINNT
OS_TARGET=WINNT
OS_MINOR_RELEASE=`uname -v`
if test "$OS_MINOR_RELEASE" = "00"; then
OS_MINOR_RELEASE=0
fi
OS_RELEASE="${OS_RELEASE}.${OS_MINOR_RELEASE}"
;;
CYGWIN32_NT|CYGWIN_NT*|MINGW*_NT*)
#
# If uname -s returns "CYGWIN_NT-4.0", we assume that we are using
# the uname.exe in the Cygwin tools.
# Prior to the Beta 20 release, Cygwin was called GNU-Win32.
# If uname -s returns "CYGWIN32/NT", we assume that we are using
# the uname.exe in the GNU-Win32 tools.
# If uname -s returns MINGW32_NT-5.1, we assume that we are using
# the uname.exe in the MSYS tools.
#
OS_RELEASE=`expr $OS_ARCH : '.*NT-\(.*\)'`
OS_ARCH=WINNT
OS_TARGET=WINNT
;;
AIX)
OS_RELEASE=`uname -v`.`uname -r`
OS_TEST=${target_cpu}
;;
BSD_386)
OS_ARCH=BSD
;;
dgux)
OS_ARCH=DGUX
;;
IRIX64)
OS_ARCH=IRIX
;;
UNIX_SV)
if "`cat /etc/bcheckrc | grep -c NCR 2>/dev/null`" != "0"; then
OS_ARCH=NCR
else
OS_ARCH=UNIXWARE
OS_RELEASE=`uname -v`
fi
;;
ncr)
OS_ARCH=NCR
;;
UNIX_SYSTEM_V)
OS_ARCH=NEC
;;
OSF1)
case `uname -v` in
148)
OS_RELEASE=V3.2C
;;
564)
OS_RELEASE=V4.0B
;;
878)
OS_RELEASE=V4.0D
;;
esac
;;
*OpenVMS*)
OS_ARCH=OpenVMS
OS_RELEASE=`uname -v`
OS_TEST=`uname -p`
;;
OS_2)
OS_ARCH=OS2
OS_TARGET=OS2
OS_RELEASE=`uname -v`
;;
QNX)
if test "$OS_TARGET" != "NTO"; then
changequote(,)
OS_RELEASE=`uname -v | sed 's/^\([0-9]\)\([0-9]*\)$/\1.\2/'`
changequote([,])
fi
OS_TEST=x86
;;
SCO_SV)
OS_ARCH=SCOOS
OS_RELEASE=5.0
;;
SINIX-N | SINIX-Y | SINIX-Z |ReliantUNIX-M)
OS_ARCH=SINIX
OS_TEST=`uname -p`
;;
UnixWare)
OS_ARCH=UNIXWARE
OS_RELEASE=`uname -v`
;;
WINCE)
WINCE=1
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
OS_ARCH=WINCE
if test "$WINCE_WINDOWS_MOBILE"; then
OS_TARGET=WINMO
else
OS_TARGET=WINCE
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
;;
Darwin)
case "${target_cpu}" in
powerpc*)
OS_TEST=ppc
;;
i*86*)
OS_TEST=i386
;;
x86_64)
OS_TEST=x86_64
;;
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
*)
if test -z "$CROSS_COMPILE" ; then
OS_TEST=`uname -p`
fi
;;
esac
;;
esac
if test "$OS_ARCH" = "NCR"; then
changequote(,)
OS_RELEASE=`awk '{print $3}' /etc/.relid | sed 's/^\([0-9]\)\(.\)\(..\)\(.*\)$/\2.\3/'`
changequote([,])
fi
# Only set CPU_ARCH if we recognize the value of OS_TEST
case "$OS_TEST" in
*86 | i86pc)
CPU_ARCH=x86
;;
powerpc* | ppc | rs6000)
CPU_ARCH=ppc
;;
Alpha | alpha | ALPHA)
CPU_ARCH=Alpha
;;
hppa* | parisc)
CPU_ARCH=hppa
;;
sun4u | sparc*)
CPU_ARCH=sparc
;;
x86_64 | ia64)
CPU_ARCH="$OS_TEST"
;;
arm*)
CPU_ARCH=arm
;;
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
esac
if test -z "$OS_TARGET"; then
OS_TARGET=$OS_ARCH
fi
OS_CONFIG="${OS_TARGET}${OS_RELEASE}"
dnl ========================================================
dnl GNU specific defaults
dnl ========================================================
if test "$GNU_CC"; then
# FIXME: Let us build with strict aliasing. bug 414641.
CFLAGS="$CFLAGS -fno-strict-aliasing"
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -Wl,-h,$@ -o $@'
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -Wl,-h,$@ -o $@'
DSO_LDOPTS='-shared'
if test "$GCC_USE_GNU_LD"; then
# Don't allow undefined symbols in libraries
DSO_LDOPTS="$DSO_LDOPTS -Wl,-z,defs"
fi
WARNINGS_AS_ERRORS='-Werror'
DSO_CFLAGS=''
DSO_PIC_CFLAGS='-fPIC'
ASFLAGS="$ASFLAGS -fPIC"
_MOZ_RTTI_FLAGS_ON=${_COMPILER_PREFIX}-frtti
_MOZ_RTTI_FLAGS_OFF=${_COMPILER_PREFIX}-fno-rtti
_MOZ_EXCEPTIONS_FLAGS_ON='-fexceptions'
_MOZ_EXCEPTIONS_FLAGS_OFF='-fno-exceptions'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
# Turn on GNU specific features
# -Wall - turn on all warnings
# -pedantic - make compiler warn about non-ANSI stuff, and
# be a little bit stricter
# Warnings slamm took out for now (these were giving more noise than help):
# -Wbad-function-cast - warns when casting a function to a new return type
# -Wshadow - removed because it generates more noise than help --pete
_WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} -Wall -W -Wno-unused -Wpointer-arith"
if test -z "$INTEL_CC"; then
# Don't use -Wcast-align with ICC
case "$CPU_ARCH" in
# And don't use it on hppa, ia64, sparc, or arm since it's noisy there
hppa | ia64 | sparc | arm)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
;;
*)
_WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} -Wcast-align"
;;
esac
fi
dnl Turn pedantic on but disable the warnings for long long
_PEDANTIC=1
if test -z "$INTEL_CC"; then
_WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} -W"
fi
_DEFINES_CFLAGS='-include $(DEPTH)/js-confdefs.h -DMOZILLA_CLIENT'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
_USE_CPP_INCLUDE_FLAG=1
elif test "$SOLARIS_SUNPRO_CC"; then
DSO_CFLAGS=''
if test "$CPU_ARCH" = "sparc"; then
# for Sun Studio on Solaris/SPARC
DSO_PIC_CFLAGS='-xcode=pic32'
else
DSO_PIC_CFLAGS='-KPIC'
fi
_DEFINES_CFLAGS='$(ACDEFINES) -D_JS_CONFDEFS_H_ -DMOZILLA_CLIENT'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
else
MKSHLIB='$(LD) $(DSO_LDOPTS) -h $@ -o $@'
MKCSHLIB='$(LD) $(DSO_LDOPTS) -h $@ -o $@'
DSO_LDOPTS='-shared'
if test "$GNU_LD"; then
# Don't allow undefined symbols in libraries
DSO_LDOPTS="$DSO_LDOPTS -z defs"
fi
DSO_CFLAGS=''
DSO_PIC_CFLAGS='-KPIC'
_DEFINES_CFLAGS='$(ACDEFINES) -D_JS_CONFDEFS_H_ -DMOZILLA_CLIENT'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
if test "$GNU_CXX"; then
# FIXME: Let us build with strict aliasing. bug 414641.
CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
# Turn on GNU specific features
_WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor"
if test -z "$INTEL_CC"; then
# Don't use -Wcast-align with ICC
case "$CPU_ARCH" in
# And don't use it on hppa, ia64, sparc, or arm since it's noisy there
hppa | ia64 | sparc | arm)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
;;
*)
_WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} -Wcast-align"
;;
esac
fi
_DEFINES_CXXFLAGS='-DMOZILLA_CLIENT -include $(DEPTH)/js-confdefs.h'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
_USE_CPP_INCLUDE_FLAG=1
AC_CACHE_CHECK(whether the compiler supports -Wno-invalid-offsetof,
ac_has_wno_invalid_offsetof,
[
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
_SAVE_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS ${_COMPILER_PREFIX}-Wno-invalid-offsetof"
AC_TRY_COMPILE([],
[return(0);],
ac_has_wno_invalid_offsetof="yes",
ac_has_wno_invalid_offsetof="no")
CXXFLAGS="$_SAVE_CXXFLAGS"
AC_LANG_RESTORE
])
if test "$ac_has_wno_invalid_offsetof" = "yes"; then
_WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} ${_COMPILER_PREFIX}-Wno-invalid-offsetof"
fi
AC_CACHE_CHECK(whether the compiler supports -Wno-variadic-macros,
ac_has_wno_variadic_macros,
[
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
_SAVE_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS ${_COMPILER_PREFIX}-Wno-variadic-macros"
AC_TRY_COMPILE([],
[return(0);],
ac_has_wno_variadic_macros="yes",
ac_has_wno_variadic_macros="no")
CXXFLAGS="$_SAVE_CXXFLAGS"
AC_LANG_RESTORE
])
if test "$ac_has_wno_variadic_macros" = "yes"; then
_WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} ${_COMPILER_PREFIX}-Wno-variadic-macros"
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
else
_DEFINES_CXXFLAGS='-DMOZILLA_CLIENT -D_JS_CONFDEFS_H_ $(ACDEFINES)'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
dnl gcc can come with its own linker so it is better to use the pass-thru calls
dnl MKSHLIB_FORCE_ALL is used to force the linker to include all object
dnl files present in an archive. MKSHLIB_UNFORCE_ALL reverts the linker to
dnl normal behavior.
dnl ========================================================
MKSHLIB_FORCE_ALL=
MKSHLIB_UNFORCE_ALL=
if test "$COMPILE_ENVIRONMENT"; then
if test "$GNU_CC"; then
AC_MSG_CHECKING(whether ld has archive extraction flags)
AC_CACHE_VAL(ac_cv_mkshlib_force_and_unforce,
[_SAVE_LDFLAGS=$LDFLAGS; _SAVE_LIBS=$LIBS
ac_cv_mkshlib_force_and_unforce="no"
exec 3<&0 <<LOOP_INPUT
force="-Wl,--whole-archive"; unforce="-Wl,--no-whole-archive"
force="-Wl,-z -Wl,allextract"; unforce="-Wl,-z -Wl,defaultextract"
force="-Wl,-all"; unforce="-Wl,-none"
LOOP_INPUT
while read line
do
eval $line
LDFLAGS=$force
LIBS=$unforce
AC_TRY_LINK(,, ac_cv_mkshlib_force_and_unforce=$line; break)
done
exec 0<&3 3<&-
LDFLAGS=$_SAVE_LDFLAGS; LIBS=$_SAVE_LIBS
])
if test "$ac_cv_mkshlib_force_and_unforce" = "no"; then
AC_MSG_RESULT(no)
else
AC_MSG_RESULT(yes)
eval $ac_cv_mkshlib_force_and_unforce
MKSHLIB_FORCE_ALL=$force
MKSHLIB_UNFORCE_ALL=$unforce
fi
fi # GNU_CC
fi # COMPILE_ENVIRONMENT
dnl =================================================================
dnl Set up and test static assertion macros used to avoid AC_TRY_RUN,
dnl which is bad when cross compiling.
dnl =================================================================
if test "$COMPILE_ENVIRONMENT"; then
configure_static_assert_macros='
#define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
#define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
#define CONFIGURE_STATIC_ASSERT_IMPL2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1]
'
dnl test that the macros actually work:
AC_MSG_CHECKING(that static assertion macros used in autoconf tests work)
AC_CACHE_VAL(ac_cv_static_assertion_macros_work,
[AC_LANG_SAVE
AC_LANG_C
ac_cv_static_assertion_macros_work="yes"
AC_TRY_COMPILE([$configure_static_assert_macros],
[CONFIGURE_STATIC_ASSERT(1)],
,
ac_cv_static_assertion_macros_work="no")
AC_TRY_COMPILE([$configure_static_assert_macros],
[CONFIGURE_STATIC_ASSERT(0)],
ac_cv_static_assertion_macros_work="no",
)
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE([$configure_static_assert_macros],
[CONFIGURE_STATIC_ASSERT(1)],
,
ac_cv_static_assertion_macros_work="no")
AC_TRY_COMPILE([$configure_static_assert_macros],
[CONFIGURE_STATIC_ASSERT(0)],
ac_cv_static_assertion_macros_work="no",
)
AC_LANG_RESTORE
])
AC_MSG_RESULT("$ac_cv_static_assertion_macros_work")
if test "$ac_cv_static_assertion_macros_work" = "no"; then
AC_MSG_ERROR([Compiler cannot compile macros used in autoconf tests.])
fi
fi # COMPILE_ENVIRONMENT
dnl ========================================================
dnl Checking for 64-bit OS
dnl ========================================================
if test "$COMPILE_ENVIRONMENT"; then
AC_LANG_SAVE
AC_LANG_C
AC_MSG_CHECKING(for 64-bit OS)
AC_TRY_COMPILE([$configure_static_assert_macros],
[CONFIGURE_STATIC_ASSERT(sizeof(void*) == 8)],
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
result="yes", result="no")
AC_MSG_RESULT("$result")
if test "$result" = "yes"; then
AC_DEFINE(HAVE_64BIT_OS)
HAVE_64BIT_OS=1
fi
AC_SUBST(HAVE_64BIT_OS)
AC_LANG_RESTORE
fi # COMPILE_ENVIRONMENT
dnl ========================================================
dnl Enable high-memory support on OS/2 by default.
dnl ========================================================
MOZ_OS2_HIGH_MEMORY=1
MOZ_ARG_DISABLE_BOOL(os2-high-mem,
[ --disable-os2-high-mem Disable high-memory support on OS/2],
MOZ_OS2_HIGH_MEMORY=,
MOZ_OS2_HIGH_MEMORY=1 )
AC_SUBST(MOZ_OS2_HIGH_MEMORY)
dnl ========================================================
dnl = Use profiling compile flags
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(profiling,
[ --enable-profiling Set compile flags necessary for using sampling profilers (e.g. shark, perf)],
MOZ_PROFILING=1,
MOZ_PROFILING= )
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl ========================================================
dnl System overrides of the defaults for host
dnl ========================================================
case "$host" in
*-beos*)
HOST_CFLAGS="$HOST_CFLAGS -DXP_BEOS -DBeOS -DBEOS -D_POSIX_SOURCE -DNO_X11"
HOST_NSPR_MDCPUCFG='\"md/_beos.cfg\"'
HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O3}"
;;
*cygwin*|*mingw*|*mks*|*msvc*|*wince|*winmo)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
if test -n "$_WIN32_MSVC"; then
HOST_AR=lib
HOST_AR_FLAGS='-NOLOGO -OUT:"$@"'
HOST_CFLAGS="$HOST_CFLAGS -TC -nologo -Fd\$(HOST_PDBFILE)"
HOST_RANLIB='echo ranlib'
else
HOST_CFLAGS="$HOST_CFLAGS -mno-cygwin"
fi
HOST_CFLAGS="$HOST_CFLAGS -DXP_WIN32 -DXP_WIN -DWIN32 -D_WIN32 -DNO_X11"
HOST_NSPR_MDCPUCFG='\"md/_winnt.cfg\"'
HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O2}"
HOST_BIN_SUFFIX=.exe
case "$host" in
*mingw*)
dnl MinGW/MSYS does not need CYGWIN_WRAPPER
;;
*)
CYGWIN_WRAPPER="${srcdir}/build/cygwin-wrapper"
if test "`echo ${srcdir} | grep -c ^/ 2>/dev/null`" = 0; then
_pwd=`pwd`
CYGWIN_WRAPPER="${_pwd}/${srcdir}/build/cygwin-wrapper"
fi
if test "`${PERL} -v | grep -c cygwin 2>/dev/null`" = 0; then
AS_PERL=1
PERL="${CYGWIN_WRAPPER} $PERL"
fi
if test "`${PYTHON} -c 'import sys; print sys.platform;'`" != "cygwin"; then
PYTHON="${CYGWIN_WRAPPER} $PYTHON"
fi
;;
esac
;;
*-darwin*)
HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX -DXP_MACOSX -DNO_X11"
HOST_NSPR_MDCPUCFG='\"md/_darwin.cfg\"'
HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O3}"
;;
*-linux*|*-kfreebsd*-gnu|*-gnu*)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX"
HOST_NSPR_MDCPUCFG='\"md/_linux.cfg\"'
HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O3}"
;;
*os2*)
HOST_CFLAGS="$HOST_CFLAGS -DXP_OS2 -DNO_X11 -Zomf"
HOST_NSPR_MDCPUCFG='\"md/_os2.cfg\"'
HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O2}"
HOST_BIN_SUFFIX=.exe
MOZ_FIX_LINK_PATHS=
;;
*-osf*)
HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX"
HOST_NSPR_MDCPUCFG='\"md/_osf1.cfg\"'
HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O2}"
;;
*)
HOST_CFLAGS="$HOST_CFLAGS -DXP_UNIX"
HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O2}"
;;
esac
dnl ========================================================
dnl System overrides of the defaults for target
dnl ========================================================
case "$target" in
*-aix*)
AC_DEFINE(AIX)
if test ! "$GNU_CC"; then
if test ! "$HAVE_64BIT_OS"; then
# Compiling with Visual Age C++ object model compat is the
# default. To compile with object model ibm, add
# AIX_OBJMODEL=ibm to .mozconfig.
if test "$AIX_OBJMODEL" = "ibm"; then
CXXFLAGS="$CXXFLAGS -qobjmodel=ibm"
else
AIX_OBJMODEL=compat
fi
else
AIX_OBJMODEL=compat
fi
AC_SUBST(AIX_OBJMODEL)
DSO_LDOPTS='-qmkshrobj=1'
DSO_CFLAGS='-qflag=w:w'
DSO_PIC_CFLAGS=
LDFLAGS="$LDFLAGS -Wl,-brtl -blibpath:/usr/lib:/lib"
AC_MSG_WARN([Clearing MOZ_FIX_LINK_PATHS till we can fix bug 332075.])
MOZ_FIX_LINK_PATHS=
MKSHLIB='$(CXX) $(DSO_LDOPTS) -o $@'
MKCSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
if test "$COMPILE_ENVIRONMENT"; then
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_MSG_CHECKING([for VisualAge C++ compiler version >= 6.0.0.3])
AC_TRY_COMPILE([],
[#if (__IBMCPP__ < 600)
#error "Bad compiler"
#endif],
_BAD_COMPILER=,_BAD_COMPILER=1)
if test -n "$_BAD_COMPILER"; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([VisualAge C++ version 6.0.0.3 or higher is required to build.])
else
AC_MSG_RESULT([yes])
fi
AC_LANG_RESTORE
TARGET_COMPILER_ABI="ibmc"
CC_VERSION=`lslpp -Lcq vac.C 2>/dev/null | awk -F: '{ print $3 }'`
CXX_VERSION=`lslpp -Lcq vacpp.cmp.core 2>/dev/null | awk -F: '{ print $3 }'`
fi
fi
case "${target_os}" in
aix4.1*)
DLL_SUFFIX='_shr.a'
;;
esac
if test "$COMPILE_ENVIRONMENT"; then
AC_CHECK_HEADERS(sys/inttypes.h)
fi
AC_DEFINE(JS_SYS_TYPES_H_DEFINES_EXACT_SIZE_TYPES)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_DEFINE(NSCAP_DISABLE_DEBUG_PTR_TYPES)
;;
*-beos*)
no_x=yes
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_LDOPTS) -Wl,-h,$@ -o $@'
_PLATFORM_DEFAULT_TOOLKIT="cairo-beos"
DSO_LDOPTS='-nostart'
TK_LIBS='-lbe -lroot'
LIBS="$LIBS -lbe"
if test "$COMPILE_ENVIRONMENT"; then
AC_CHECK_LIB(bind,main,LIBS="$LIBS -lbind")
AC_CHECK_LIB(zeta,main,LIBS="$LIBS -lzeta")
fi
_WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} -Wno-multichar"
_WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} -Wno-multichar"
_MOZ_USE_RTTI=1
USE_DEPENDENT_LIBS=
MOZ_USER_DIR="Mozilla"
;;
*-bsdi*)
dnl -pedantic doesn't play well with BSDI's _very_ modified gcc (shlicc2)
_PEDANTIC=
case $OS_RELEASE in
4.*|5.*)
STRIP="$STRIP -d"
;;
*)
DSO_CFLAGS=''
DSO_LDOPTS='-r'
_WARNINGS_CFLAGS="-Wall"
_WARNINGS_CXXFLAGS="-Wall"
# The test above doesn't work properly, at least on 3.1.
MKSHLIB_FORCE_ALL=''
MKSHLIB_UNFORCE_ALL=''
;;
esac
;;
*-darwin*)
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
# If we're building with --enable-profiling, we need a frame pointer.
if test -z "$MOZ_PROFILING"; then
MOZ_OPTIMIZE_FLAGS="-O3 -fomit-frame-pointer"
else
MOZ_OPTIMIZE_FLAGS="-O3 -fno-omit-frame-pointer"
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
_PEDANTIC=
CFLAGS="$CFLAGS -fpascal-strings -fno-common"
CXXFLAGS="$CXXFLAGS -fpascal-strings -fno-common"
DLL_SUFFIX=".dylib"
DSO_LDOPTS=''
STRIP="$STRIP -x -S"
_PLATFORM_DEFAULT_TOOLKIT='cairo-cocoa'
TARGET_NSPR_MDCPUCFG='\"md/_darwin.cfg\"'
LDFLAGS="$LDFLAGS -framework Cocoa -lobjc"
LIBXUL_LIBS='$(XPCOM_FROZEN_LDOPTS) $(LIBXUL_DIST)/bin/XUL'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
# The ExceptionHandling framework is needed for Objective-C exception
# logging code in nsObjCExceptions.h. Currently we only use that in debug
# builds.
MOZ_DEBUG_LDFLAGS="$MOZ_DEBUG_LDFLAGS -framework ExceptionHandling"
dnl DTrace and -dead_strip don't interact well. See bug 403132.
dnl ===================================================================
if test "x$enable_dtrace" = "xyes"; then
echo "Skipping -dead_strip because DTrace is enabled. See bug 403132."
else
dnl check for the presence of the -dead_strip linker flag
AC_MSG_CHECKING([for -dead_strip option to ld])
_SAVE_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS -Wl,-dead_strip"
AC_TRY_LINK(,[return 0;],_HAVE_DEAD_STRIP=1,_HAVE_DEAD_STRIP=)
if test -n "$_HAVE_DEAD_STRIP" ; then
AC_MSG_RESULT([yes])
MOZ_OPTIMIZE_LDFLAGS="-Wl,-dead_strip"
else
AC_MSG_RESULT([no])
fi
LDFLAGS=$_SAVE_LDFLAGS
fi
MOZ_FIX_LINK_PATHS='-Wl,-executable_path,$(LIBXUL_DIST)/bin'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
;;
*-freebsd*)
if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo elf` != "elf"; then
DLL_SUFFIX=".so.1.0"
DSO_LDOPTS="-shared"
fi
if test ! "$GNU_CC"; then
DSO_LDOPTS="-Bshareable $DSO_LDOPTS"
fi
;;
ia64*-hpux*)
DLL_SUFFIX=".so"
if test ! "$GNU_CC"; then
DSO_LDOPTS='-b'
DSO_CFLAGS=""
DSO_PIC_CFLAGS=
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_LDOPTS) -o $@'
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_LDOPTS) -o $@'
CXXFLAGS="$CXXFLAGS -Wc,-ansi_for_scope,on"
else
DSO_LDOPTS='-b -E'
MKSHLIB='$(LD) $(DSO_LDOPTS) -o $@'
MKCSHLIB='$(LD) $(DSO_LDOPTS) -o $@'
fi
MOZ_FIX_LINK_PATHS=
SYSTEM_MAKEDEPEND=
AC_DEFINE(NSCAP_DISABLE_DEBUG_PTR_TYPES)
;;
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
*-hpux*)
DLL_SUFFIX=".sl"
if test ! "$GNU_CC"; then
DSO_LDOPTS='-b -Wl,+s'
DSO_CFLAGS=""
DSO_PIC_CFLAGS="+Z"
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_LDOPTS) -L$(LIBXUL_DIST)/bin -o $@'
MKCSHLIB='$(LD) -b +s -L$(LIBXUL_DIST)/bin -o $@'
CXXFLAGS="$CXXFLAGS -Wc,-ansi_for_scope,on"
else
DSO_LDOPTS='-b -E +s'
MKSHLIB='$(LD) $(DSO_LDOPTS) -L$(LIBXUL_DIST)/bin -L$(LIBXUL_DIST)/lib -o $@'
MKCSHLIB='$(LD) $(DSO_LDOPTS) -L$(LIBXUL_DIST)/bin -L$(LIBXUL_DIST)/lib -o $@'
fi
MOZ_POST_PROGRAM_COMMAND='chatr +s enable'
AC_DEFINE(NSCAP_DISABLE_DEBUG_PTR_TYPES)
;;
*-irix5*)
AC_DEFINE(IRIX)
DSO_LDOPTS='-elf -shared'
if test "$GNU_CC"; then
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
MKSHLIB_FORCE_ALL='-Wl,-all'
MKSHLIB_UNFORCE_ALL='-Wl,-none'
CXXFLAGS="$CXXFLAGS -D_LANGUAGE_C_PLUS_PLUS"
else
MKSHLIB='$(LD) $(DSO_LDOPTS) -o $@'
MKCSHLIB='$(LD) $(DSO_LDOPTS) -o $@'
MKSHLIB_FORCE_ALL='-all'
MKSHLIB_UNFORCE_ALL='-none'
fi
;;
*-irix6*)
AC_DEFINE(IRIX)
dnl the irix specific xptcinvoke code is written against the n32 ABI so we *must*
dnl compile and link using -n32
USE_N32=1
TARGET_COMPILER_ABI=n32
DSO_LDOPTS='-elf -shared'
MKSHLIB='$(CCC) $(CXXFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
_MOZ_EXCEPTIONS_FLAGS_OFF="-LANG:exceptions=OFF"
_MOZ_EXCEPTIONS_FLAGS_ON="-LANG:exceptions=ON"
if test "$GNU_CC"; then
MKSHLIB_FORCE_ALL='-Wl,-all'
MKSHLIB_UNFORCE_ALL='-Wl,-none'
_WARNINGS_CFLAGS="-Wall"
_WARNINGS_CXXFLAGS="-Wall"
CXXFLAGS="$CXXFLAGS -D_LANGUAGE_C_PLUS_PLUS"
else
MKSHLIB_FORCE_ALL='-all'
MKSHLIB_UNFORCE_ALL='-none'
AR_LIST="$AR t"
AR_EXTRACT="$AR x"
AR_DELETE="$AR d"
AR='$(CXX) -ar'
AR_FLAGS='-o $@'
CFLAGS="$CFLAGS -woff 3262 -G 4"
CXXFLAGS="$CXXFLAGS -woff 3262 -G 4"
if test -n "$USE_N32"; then
ASFLAGS="$ASFLAGS -n32"
CFLAGS="$CFLAGS -n32"
CXXFLAGS="$CXXFLAGS -n32"
LDFLAGS="$LDFLAGS -n32"
fi
AC_DEFINE(NSCAP_DISABLE_DEBUG_PTR_TYPES)
AC_MSG_WARN([Clearing MOZ_FIX_LINK_PATHS for OSF/1 as fix for bug 333545 (till the reference bug 332075 is fixed.])
MOZ_FIX_LINK_PATHS=
fi
if test -z "$GNU_CXX"; then
MIPSPRO_CXX=1
fi
;;
*-*linux*)
# Note: both GNU_CXX and INTEL_CXX are set when using Intel's C compiler.
if test "$INTEL_CXX"; then
# -Os has been broken on Intel's C/C++ compilers for quite a
# while; Intel recommends against using it.
MOZ_OPTIMIZE_FLAGS="-O2"
MOZ_DEBUG_FLAGS="-g"
elif test "$GNU_CXX"; then
GCC_VERSION=`$CXX -v 2>&1 | awk '/^gcc version/ { print $3 }'`
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
case $GCC_VERSION in
4.1.*|4.2.*|4.5.*)
# -Os is broken on gcc 4.1.x 4.2.x, 4.5.x we need to tweak it to get good results.
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
MOZ_OPTIMIZE_SIZE_TWEAK="-finline-limit=50"
esac
# If we're building with --enable-profiling, we need a frame pointer.
if test -z "$MOZ_PROFILING"; then
MOZ_OPTIMIZE_FLAGS="-Os -freorder-blocks -fno-reorder-functions -fomit-frame-pointer $MOZ_OPTIMIZE_SIZE_TWEAK"
else
MOZ_OPTIMIZE_FLAGS="-Os -freorder-blocks -fno-reorder-functions -fno-omit-frame-pointer $MOZ_OPTIMIZE_SIZE_TWEAK"
fi
MOZ_DEBUG_FLAGS="-g"
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
TARGET_NSPR_MDCPUCFG='\"md/_linux.cfg\"'
case "${target_cpu}" in
alpha*)
CFLAGS="$CFLAGS -mieee"
CXXFLAGS="$CXXFLAGS -mieee"
;;
mips*)
MOZ_DEBUG_FLAGS="-g" # We want inlining
;;
esac
;;
*-wince*|*-winmo*)
TARGET_COMPILER_ABI=msvc
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
MOZ_TOOLS_DIR=`echo $MOZ_TOOLS`
AR_LIST="$AR -list"
AR_EXTRACT="$AR -extract"
AR_DELETE="$AR d"
AR_FLAGS='-OUT:"$@"'
AS="$AS_BIN"
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
DSO_CFLAGS=
DSO_PIC_CFLAGS=
DLL_SUFFIX=.dll
BIN_SUFFIX='.exe'
if test -z "$RC"; then
RC=rc.exe
fi
# certain versions of cygwin's makedepend barf on the
# #include <string> vs -I./dist/include/string issue so don't use it
SYSTEM_MAKEDEPEND=
HOST_CC=cl
HOST_CXX=cl
HOST_LD=link
HOST_AR='lib -OUT:$@'
HOST_RANLIB='echo ranlib'
HOST_CFLAGS="$HOST_CFLAGS -D_X86_"
WARNINGS_AS_ERRORS='-WX'
MOZ_OPTIMIZE_FLAGS='-O1'
AR_FLAGS='-NOLOGO -OUT:"$@"'
ASM_SUFFIX=asm
CFLAGS="$CFLAGS -W3 -Gy -Fd\$(COMPILE_PDBFILE)"
CXXFLAGS="$CXXFLAGS -W3 -Gy -Fd\$(COMPILE_PDBFILE)"
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
DLL_PREFIX=
DOXYGEN=:
DSO_LDOPTS=-SUBSYSTEM:WINDOWSCE
DYNAMIC_XPCOM_LIBS='$(LIBXUL_DIST)/lib/xpcom.lib $(LIBXUL_DIST)/lib/xpcom_core.lib'
GARBAGE=
IMPORT_LIB_SUFFIX=lib
LIBS="$LIBS"
LIBXUL_LIBS='$(LIBXUL_DIST)/lib/xpcom.lib $(LIBXUL_DIST)/lib/xul.lib'
LIB_PREFIX=
LIB_SUFFIX=lib
MKCSHLIB='$(LD) -NOLOGO -DLL -OUT:$@ $(DSO_LDOPTS)'
MKSHLIB='$(LD) -NOLOGO -DLL -OUT:$@ $(DSO_LDOPTS)'
MKSHLIB_FORCE_ALL=
MKSHLIB_UNFORCE_ALL=
MOZ_COMPONENT_NSPR_LIBS='$(NSPR_LIBS)'
MOZ_COMPONENT_NSPR_LIBS='$(NSPR_LIBS)'
MOZ_DEBUG_FLAGS='-Zi'
MOZ_DEBUG_LDFLAGS='-DEBUG -DEBUGTYPE:CV'
MOZ_FIX_LINK_PATHS=
MOZ_JS_LIBS='$(libdir)/mozjs.lib'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
OBJ_SUFFIX=obj
RANLIB='echo not_ranlib'
STRIP='echo not_strip'
TARGET_NSPR_MDCPUCFG='\"md/_wince.cfg\"'
UNZIP=unzip
XARGS=xargs
XPCOM_FROZEN_LDOPTS='$(LIBXUL_DIST)/lib/xpcom.lib'
ZIP=zip
AC_DEFINE(WINCE)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_DEFINE(HAVE_SNPRINTF)
AC_DEFINE(_WINDOWS)
AC_DEFINE(WIN32)
AC_DEFINE(XP_WIN)
AC_DEFINE(XP_WIN32)
AC_DEFINE(HW_THREADS)
AC_DEFINE(STDC_HEADERS)
AC_DEFINE(NEW_H, <new>)
AC_DEFINE(WIN32_LEAN_AND_MEAN)
TARGET_MD_ARCH=win32
_PLATFORM_DEFAULT_TOOLKIT='windows'
BIN_SUFFIX='.exe'
MOZ_USER_DIR="Mozilla"
dnl Default to Windows Mobile components enabled
WINCE_WINDOWS_MOBILE=1
MOZ_ARG_DISABLE_BOOL(windows-mobile-components,
[ --disable-windows-mobile-components
Disable Windows Mobile specific components from
CE build],
WINCE_WINDOWS_MOBILE=,
WINCE_WINDOWS_MOBILE=1)
if test "$WINCE_WINDOWS_MOBILE"; then
AC_DEFINE(WINCE_WINDOWS_MOBILE)
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
;;
*-symbian*)
AC_DEFINE(XP_UNIX)
AC_DEFINE(SYMBIAN)
AC_DEFINE(__arm__)
AC_DEFINE(__SYMBIAN32__)
AC_DEFINE(_UNICODE)
AC_DEFINE(NDEBUG)
AC_DEFINE(__SUPPORT_CPP_EXCEPTIONS__)
AC_DEFINE(MOZ_STDERR_TO_STDOUT)
AC_DEFINE(HAVE_FCNTL_FILE_LOCKING)
AC_DEFINE(HAVE_SOCKLEN_T)
AC_DEFINE(__GCCE__)
CPU_ARCH=ARM
OS_RELEASE=9.2
OS_ARCH=SYMBIAN
USE_PTHREADS=1
LIB_SUFFIX=lib
DLL_SUFFIX=dll
MKSHLIB=
DSO_LDOPTS=
DSO_CFLAGS=
VISIBILITY_FLAGS=
TARGET_NSPR_MDCPUCFG='\"md/_symbian.cfg\"'
RANLIB='echo no ranlib '
;;
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
*-mingw*|*-cygwin*|*-msvc*|*-mks*)
DSO_CFLAGS=
DSO_PIC_CFLAGS=
DLL_SUFFIX=.dll
RC=rc.exe
# certain versions of cygwin's makedepend barf on the
# #include <string> vs -I./dist/include/string issue so don't use it
SYSTEM_MAKEDEPEND=
if test -n "$GNU_CC"; then
CC="$CC -mno-cygwin"
CXX="$CXX -mno-cygwin"
CPP="$CPP -mno-cygwin"
CFLAGS="$CFLAGS -mms-bitfields"
CXXFLAGS="$CXXFLAGS -mms-bitfields"
DSO_LDOPTS='-shared'
MKSHLIB='$(CXX) $(DSO_LDOPTS) -o $@'
MKCSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
RC='$(WINDRES)'
# Use temp file for windres (bug 213281)
RCFLAGS='-O coff --use-temp-file'
# mingw doesn't require kernel32, user32, and advapi32 explicitly
LIBS="$LIBS -lgdi32 -lwinmm -lwsock32"
MOZ_JS_LIBS='-L$(libdir) -lmozjs'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
MOZ_FIX_LINK_PATHS=
DYNAMIC_XPCOM_LIBS='-L$(LIBXUL_DIST)/lib -lxpcom -lxpcom_core'
XPCOM_FROZEN_LDOPTS='-L$(LIBXUL_DIST)/lib -lxpcom'
DLL_PREFIX=
IMPORT_LIB_SUFFIX=dll.a
GCC_VERSION=`$CC -v 2>&1 | awk '/^gcc version/ { print $3 }'`
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
else
TARGET_COMPILER_ABI=msvc
HOST_CC='$(CC)'
HOST_CXX='$(CXX)'
HOST_LD='$(LD)'
if test "$AS_BIN"; then
AS="$(basename "$AS_BIN")"
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AR='lib -NOLOGO -OUT:"$@"'
AR_FLAGS=
RANLIB='echo not_ranlib'
STRIP='echo not_strip'
PKG_SKIP_STRIP=1
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
XARGS=xargs
ZIP=zip
UNZIP=unzip
DOXYGEN=:
GARBAGE='$(OBJDIR)/vc20.pdb $(OBJDIR)/vc40.pdb'
ASM_SUFFIX=asm
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
OBJ_SUFFIX=obj
LIB_SUFFIX=lib
DLL_PREFIX=
LIB_PREFIX=
IMPORT_LIB_SUFFIX=lib
MKSHLIB='$(LD) -NOLOGO -DLL -OUT:$@ -PDB:$(LINK_PDBFILE) $(DSO_LDOPTS)'
MKCSHLIB='$(LD) -NOLOGO -DLL -OUT:$@ -PDB:$(LINK_PDBFILE) $(DSO_LDOPTS)'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
MKSHLIB_FORCE_ALL=
MKSHLIB_UNFORCE_ALL=
DSO_LDOPTS=-SUBSYSTEM:WINDOWS
_USE_CPP_INCLUDE_FLAG=1
_DEFINES_CFLAGS='-FI $(DEPTH)/js-confdefs.h -DMOZILLA_CLIENT'
_DEFINES_CXXFLAGS='-FI $(DEPTH)/js-confdefs.h -DMOZILLA_CLIENT'
CFLAGS="$CFLAGS -W3 -Gy -Fd\$(COMPILE_PDBFILE)"
CXXFLAGS="$CXXFLAGS -W3 -Gy -Fd\$(COMPILE_PDBFILE)"
2010-05-24 13:24:09 -07:00
CXXFLAGS="$CXXFLAGS -wd4800" # disable warning "forcing value to bool"
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
LIBS="$LIBS kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib"
MOZ_DEBUG_FLAGS='-Zi'
MOZ_DEBUG_LDFLAGS='-DEBUG -DEBUGTYPE:CV'
WARNINGS_AS_ERRORS='-WX'
# If we're building with --enable-profiling, we need -Oy-, which forces a frame pointer.
if test -z "$MOZ_PROFILING"; then
MOZ_OPTIMIZE_FLAGS='-O1'
else
MOZ_OPTIMIZE_FLAGS='-O1 -Oy-'
fi
MOZ_JS_LIBS='$(libdir)/mozjs.lib'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
MOZ_FIX_LINK_PATHS=
DYNAMIC_XPCOM_LIBS='$(LIBXUL_DIST)/lib/xpcom.lib $(LIBXUL_DIST)/lib/xpcom_core.lib'
XPCOM_FROZEN_LDOPTS='$(LIBXUL_DIST)/lib/xpcom.lib'
LIBXUL_LIBS='$(LIBXUL_DIST)/lib/xpcom.lib $(LIBXUL_DIST)/lib/xul.lib'
MOZ_COMPONENT_NSPR_LIBS='$(NSPR_LIBS)'
if test $_MSC_VER -ge 1400; then
LDFLAGS="$LDFLAGS -NXCOMPAT"
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl For profile-guided optimization
PROFILE_GEN_CFLAGS="-GL"
PROFILE_GEN_LDFLAGS="-LTCG:PGINSTRUMENT"
dnl XXX: PGO builds can fail with warnings treated as errors,
dnl specifically "no profile data available" appears to be
dnl treated as an error sometimes. This might be a consequence
dnl of using WARNINGS_AS_ERRORS in some modules, combined
dnl with the linker doing most of the work in the whole-program
dnl optimization/PGO case. I think it's probably a compiler bug,
dnl but we work around it here.
PROFILE_USE_CFLAGS="-GL -wd4624 -wd4952"
dnl XXX: should be -LTCG:PGOPTIMIZE, but that fails on libxul.
dnl Probably also a compiler bug, but what can you do?
PROFILE_USE_LDFLAGS="-LTCG:PGUPDATE"
if test -n "$_USE_DYNAMICBASE"; then
LDFLAGS="$LDFLAGS -DYNAMICBASE"
fi
fi
fi
AC_DEFINE(HAVE_SNPRINTF)
AC_DEFINE(_WINDOWS)
AC_DEFINE(WIN32)
AC_DEFINE(XP_WIN)
AC_DEFINE(XP_WIN32)
AC_DEFINE(HW_THREADS)
AC_DEFINE(STDC_HEADERS)
AC_DEFINE(NEW_H, <new>)
AC_DEFINE(WIN32_LEAN_AND_MEAN)
TARGET_MD_ARCH=win32
_PLATFORM_DEFAULT_TOOLKIT='cairo-windows'
BIN_SUFFIX='.exe'
MOZ_USER_DIR="Mozilla"
dnl Hardcode to win95 for now - cls
TARGET_NSPR_MDCPUCFG='\"md/_win95.cfg\"'
dnl set NO_X11 defines here as the general check is skipped on win32
no_x=yes
AC_DEFINE(NO_X11)
dnl MinGW/MSYS doesn't provide or need cygpath
case "$host" in
*-mingw*)
CYGPATH_W=echo
CYGPATH_S=cat
MOZ_BUILD_ROOT=`cd $MOZ_BUILD_ROOT && pwd -W`
;;
*-cygwin*|*-msvc*|*-mks*)
CYGPATH_W="cygpath -a -w"
CYGPATH_S="sed -e s|\\\\|/|g"
MOZ_BUILD_ROOT=`$CYGPATH_W $MOZ_BUILD_ROOT | $CYGPATH_S`
;;
esac
case "$host" in
*-mingw*|*-cygwin*|*-msvc*|*-mks*)
if test -z "$MOZ_TOOLS"; then
AC_MSG_ERROR([MOZ_TOOLS is not set])
fi
MOZ_TOOLS_DIR=`cd $MOZ_TOOLS && pwd`
2010-07-19 22:43:54 -07:00
if test "$?" != "0" -o -z "$MOZ_TOOLS_DIR"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_MSG_ERROR([cd \$MOZ_TOOLS failed. MOZ_TOOLS ==? $MOZ_TOOLS])
fi
if test `echo ${PATH}: | grep -ic "$MOZ_TOOLS_DIR/bin:"` = 0; then
AC_MSG_ERROR([\$MOZ_TOOLS\\bin must be in your path.])
fi
MOZ_TOOLS_DIR=`$CYGPATH_W $MOZ_TOOLS_DIR | $CYGPATH_S`
;;
esac
case "$host_os" in
cygwin*|msvc*|mks*)
AC_MSG_WARN([Using a cygwin build environment is unsupported. Configure cannot check for the presence of necessary headers. Please upgrade to MozillaBuild; see http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites])
;;
esac
case "$target" in
i*86-*)
if test "$HAVE_64BIT_OS"; then
AC_MSG_ERROR([You are targeting i386 but using the 64-bit compiler.])
fi
if test $_MSC_VER -ge 1400; then
LDFLAGS="$LDFLAGS -SAFESEH"
fi
AC_CHECK_HEADERS(mmintrin.h)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_DEFINE(_X86_)
;;
alpha-*)
AC_DEFINE(_ALPHA_)
;;
mips-*)
AC_DEFINE(_MIPS_)
;;
x86_64-*)
AC_DEFINE(_AMD64_)
;;
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
*)
AC_DEFINE(_CPU_ARCH_NOT_DEFINED)
;;
esac
if test "$HAVE_64BIT_OS"; then
AC_DEFINE(_WIN64)
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
;;
*-netbsd*)
DSO_CFLAGS=''
CFLAGS="$CFLAGS -Dunix"
CXXFLAGS="$CXXFLAGS -Dunix"
if $CC -E - -dM </dev/null | grep __ELF__ >/dev/null; then
DLL_SUFFIX=".so"
DSO_PIC_CFLAGS='-fPIC -DPIC'
DSO_LDOPTS='-shared'
BIN_FLAGS='-Wl,--export-dynamic'
else
DSO_PIC_CFLAGS='-fPIC -DPIC'
DLL_SUFFIX=".so.1.0"
DSO_LDOPTS='-shared'
fi
# This will fail on a.out systems prior to 1.5.1_ALPHA.
MKSHLIB_FORCE_ALL='-Wl,--whole-archive'
MKSHLIB_UNFORCE_ALL='-Wl,--no-whole-archive'
if test "$LIBRUNPATH"; then
DSO_LDOPTS="-Wl,-R$LIBRUNPATH $DSO_LDOPTS"
fi
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -Wl,-soname,lib$(LIBRARY_NAME)$(DLL_SUFFIX) -o $@'
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -Wl,-soname,lib$(LIBRARY_NAME)$(DLL_SUFFIX) -o $@'
;;
*-nto*)
AC_DEFINE(NTO)
AC_DEFINE(_QNX_SOURCE)
AC_DEFINE(_i386)
OS_TARGET=NTO
WARNINGS_AS_ERRORS=''
MOZ_OPTIMIZE_FLAGS="-O"
MOZ_DEBUG_FLAGS="-gstabs"
USE_PTHREADS=1
_PEDANTIC=
LIBS="$LIBS -lsocket -lstdc++"
_DEFINES_CFLAGS='-include $(DEPTH)/js-confdefs.h -DMOZILLA_CLIENT -D_POSIX_C_SOURCE=199506'
_DEFINES_CXXFLAGS='-DMOZILLA_CLIENT -include $(DEPTH)/js-confdefs.h -D_POSIX_C_SOURCE=199506'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
if test "$with_x" != "yes"
then
_PLATFORM_DEFAULT_TOOLKIT="photon"
TK_CFLAGS='-I/usr/include/photon'
TK_LIBS='-lph'
fi
case "${target_cpu}" in
ppc*)
AC_DEFINE(HAVE_VA_LIST_AS_ARRAY)
;;
esac
;;
*-openbsd*)
DLL_SUFFIX=".so.1.0"
DSO_CFLAGS=''
DSO_PIC_CFLAGS='-fPIC'
DSO_LDOPTS='-shared -fPIC'
if test "$LIBRUNPATH"; then
DSO_LDOPTS="-R$LIBRUNPATH $DSO_LDOPTS"
fi
;;
*-openvms*)
AC_DEFINE(NO_PW_GECOS)
AC_DEFINE(NO_UDSOCK)
AC_DEFINE(POLL_WITH_XCONNECTIONNUMBER)
USE_PTHREADS=1
MKSHLIB_FORCE_ALL='-all'
MKSHLIB_UNFORCE_ALL='-none'
AS='as'
AS_DASH_C_FLAG='-Wc/names=as_is'
AR_FLAGS='c $@'
DSO_LDOPTS='-shared -auto_symvec'
DSO_PIC_CFLAGS=
MOZ_DEBUG_LDFLAGS='-g'
COMPAQ_CXX=1
CC_VERSION=`$CC -V 2>&1 | awk '/ C / { print $3 }'`
CXX_VERSION=`$CXX -V 2>&1 | awk '/ C\+\+ / { print $3 }'`
;;
*-os2*)
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -o $@'
AC_DEFINE(OS2)
AC_DEFINE(XP_OS2)
AC_DEFINE(OS2EMX_PLAIN_CHAR)
AC_DEFINE(TCPV40HDRS)
DLL_PREFIX=
LIB_PREFIX=
LIB_SUFFIX=lib
BIN_SUFFIX=".exe"
DLL_SUFFIX=".dll"
IMPORT_LIB_SUFFIX=lib
DSO_PIC_CFLAGS=
AR=emxomfar
AR_FLAGS='r $@'
CFLAGS="$CFLAGS -Zomf"
CXXFLAGS="$CXXFLAGS -Zomf"
DSO_LDOPTS='-Zdll'
BIN_FLAGS='-Zlinker /ST:0x100000'
IMPLIB='emximp -o'
FILTER='emxexp -o'
LDFLAGS='-Zmap'
WARNINGS_AS_ERRORS='-Werror'
MOZ_DEBUG_FLAGS="-g -fno-inline"
MOZ_OPTIMIZE_FLAGS="-O2"
MOZ_OPTIMIZE_LDFLAGS="-s -Zlinker /EXEPACK:2 -Zlinker /PACKCODE -Zlinker /PACKDATA"
DYNAMIC_XPCOM_LIBS='-L$(LIBXUL_DIST)/lib $(LIBXUL_DIST)/lib/xpcom.lib $(LIBXUL_DIST)/lib/xpcom_core.lib $(LIBXUL_DIST)/lib/mozalloc.lib'
LIBXUL_LIBS='-L$(LIBXUL_DIST)/lib $(LIBXUL_DIST)/lib/xpcom.lib $(LIBXUL_DIST)/lib/xul.lib $(LIBXUL_DIST)/lib/mozalloc.lib'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
TARGET_MD_ARCH=os2
_PLATFORM_DEFAULT_TOOLKIT="cairo-os2"
RC=rc.exe
RCFLAGS='-n'
MOZ_USER_DIR="Mozilla"
if test "$MOZTOOLS"; then
MOZ_TOOLS_DIR=`echo $MOZTOOLS | sed -e 's|\\\\|/|g'`
else
AC_MSG_ERROR([MOZTOOLS is not set])
fi
if test -n "$MOZ_OS2_HIGH_MEMORY"; then
DSO_LDOPTS="$DSO_LDOPTS -Zhigh-mem"
LDFLAGS="$LDFLAGS -Zhigh-mem"
MOZ_OPTIMIZE_LDFLAGS="$MOZ_OPTIMIZE_LDFLAGS -Zhigh-mem"
AC_DEFINE(MOZ_OS2_HIGH_MEMORY)
fi
# GCC for OS/2 currently predefines these, but we don't want them
_DEFINES_CFLAGS="$_DEFINES_CFLAGS -Uunix -U__unix -U__unix__"
_DEFINES_CXXFLAGS="$_DEFINES_CXXFLAGS -Uunix -U__unix -U__unix__"
AC_CACHE_CHECK(for __declspec(dllexport),
ac_os2_declspec,
[AC_TRY_COMPILE([__declspec(dllexport) void ac_os2_declspec(void) {}],
[return 0;],
ac_os2_declspec="yes",
ac_os2_declspec="no")])
if test "$ac_os2_declspec" = "yes"; then
FILTER='true'
MOZ_OS2_USE_DECLSPEC='1'
fi
;;
alpha*-*-osf*)
if test "$GNU_CC"; then
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -Wl,-soname,$@ -o $@'
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -Wl,-soname,$@ -o $@'
else
MOZ_DEBUG_FLAGS='-g'
ASFLAGS='-I$(topsrcdir)/xpcom/reflect/xptcall/public -g'
CFLAGS="$CFLAGS -ieee"
CXXFLAGS="$CXXFLAGS "'-noexceptions -ieee -ptr $(DIST)/cxx_repository'
DSO_LDOPTS='-shared -msym -expect_unresolved \* -update_registry $(DIST)/so_locations'
DSO_CFLAGS=
DSO_PIC_CFLAGS=
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -soname $@ -o $@'
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_CFLAGS) $(DSO_LDOPTS) -soname $@ -o $@'
MKSHLIB_FORCE_ALL='-all'
MKSHLIB_UNFORCE_ALL='-none'
dnl Might fix the libxpcom.so breakage on this platform as well....
AC_DEFINE(NSCAP_DISABLE_TEST_DONTQUERY_CASES)
AC_DEFINE(NSCAP_DISABLE_DEBUG_PTR_TYPES)
fi
if test -z "$GNU_CXX"; then
COMPAQ_CXX=1
fi
AC_DEFINE(NEED_USLEEP_PROTOTYPE)
;;
*-qnx*)
DIRENT_INO=d_stat.st_ino
dnl Solves the problems the QNX compiler has with nsCOMPtr.h.
AC_DEFINE(NSCAP_DISABLE_TEST_DONTQUERY_CASES)
AC_DEFINE(NSCAP_DISABLE_DEBUG_PTR_TYPES)
dnl Explicit set STDC_HEADERS to workaround QNX 6.0's failing of std test
AC_DEFINE(STDC_HEADERS)
if test "$no_x" = "yes"; then
_PLATFORM_DEFAULT_TOOLKIT='photon'
TK_CFLAGS='-I/usr/nto/include/photon'
TK_LIBS='-lphoton -lphrender'
fi
;;
*-sco*)
AC_DEFINE(NSCAP_DISABLE_TEST_DONTQUERY_CASES)
AC_DEFINE(NSCAP_DISABLE_DEBUG_PTR_TYPES)
CXXFLAGS="$CXXFLAGS -I/usr/include/CC"
if test ! "$GNU_CC"; then
DSO_LDOPTS='-G'
fi
;;
*-solaris*)
AC_DEFINE(SOLARIS)
TARGET_NSPR_MDCPUCFG='\"md/_solaris.cfg\"'
if test -z "$CROSS_COMPILE" && pkginfo -q SUNWpr && pkginfo -q SUNWprd; then
NO_NSPR_CONFIG_SYSTEM_LDFLAGS="-L/usr/lib/mps -R/usr/lib/mps -lnspr4"
NO_NSPR_CONFIG_SYSTEM_CFLAGS="-I/usr/include/mps"
NO_NSPR_CONFIG_SYSTEM_VERSION=["`pkgparam SUNWpr SUNW_PRODVERS | sed -e 's/^[1-9][0-9]*\.[0-9][0-9]*$/&.0/'`"]
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
SYSTEM_MAKEDEPEND=
MOZ_FIX_LINK_PATHS=
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
# $ORIGIN/.. is for shared libraries under components/ to locate shared
# libraries one level up (e.g. libnspr4.so)
if test "$SOLARIS_SUNPRO_CC"; then
LDFLAGS="$LDFLAGS -z ignore -R '\$\$ORIGIN:\$\$ORIGIN/..' -z lazyload -z combreloc -z muldefs"
LIBS="-lCrun -lCstd -lc $LIBS"
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
NS_USE_NATIVE=1
AC_DEFINE(NSCAP_DISABLE_DEBUG_PTR_TYPES)
CFLAGS="$CFLAGS -xlibmieee -xstrconst -xbuiltin=%all -D__FUNCTION__=__func__"
CXXFLAGS="$CXXFLAGS -xlibmieee -xbuiltin=%all -features=tmplife,tmplrefstatic,extensions -norunpath -D__FUNCTION__=__func__ -template=no%extdef"
_MOZ_EXCEPTIONS_FLAGS_ON='-features=except'
_MOZ_EXCEPTIONS_FLAGS_OFF='-features=no%except'
LDFLAGS="-xildoff $LDFLAGS"
2010-07-19 22:43:54 -07:00
if test -z "$CROSS_COMPILE" -a -f /usr/lib/ld/map.noexstk; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
_SAVE_LDFLAGS=$LDFLAGS
LDFLAGS="-M /usr/lib/ld/map.noexstk $LDFLAGS"
AC_TRY_LINK([#include <stdio.h>],
[printf("Hello World\n");],
,
[LDFLAGS=$_SAVE_LDFLAGS])
fi
WARNINGS_AS_ERRORS='-Werror'
MOZ_OPTIMIZE_FLAGS="-xO4"
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_PIC_FLAGS) $(DSO_LDOPTS) -h $@ -o $@'
2010-06-26 10:09:34 -07:00
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_FLAGS) $(DSO_LDOPTS) -h $@ -o $@'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
MKSHLIB_FORCE_ALL='-z allextract'
MKSHLIB_UNFORCE_ALL='-z defaultextract'
DSO_LDOPTS='-G'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AR_LIST="$AR t"
AR_EXTRACT="$AR x"
AR_DELETE="$AR d"
AR='$(CXX) -xar'
AR_FLAGS='-o $@'
AS='/usr/ccs/bin/as'
ASFLAGS="$ASFLAGS -K PIC -L -P -D_ASM -D__STDC__=0"
AS_DASH_C_FLAG=''
TARGET_COMPILER_ABI="sunc"
CC_VERSION=`$CC -V 2>&1 | grep '^cc:' 2>/dev/null | $AWK -F\: '{ print $2 }'`
CXX_VERSION=`$CXX -V 2>&1 | grep '^CC:' 2>/dev/null | $AWK -F\: '{ print $2 }'`
AC_MSG_CHECKING([for Sun C++ compiler version >= 5.9])
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_TRY_COMPILE([],
[#if (__SUNPRO_CC < 0x590)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
#error "Denied"
#endif],
_BAD_COMPILER=,_BAD_COMPILER=1)
if test -n "$_BAD_COMPILER"; then
_res="no"
AC_MSG_ERROR([Sun C++ 5.9 (Sun Studio 12) or higher is required to build. Your compiler version is $CXX_VERSION .])
else
_res="yes"
fi
AC_TRY_COMPILE([],
[#if (__SUNPRO_CC >= 0x5100)
#error "Sun C++ 5.10 or above"
#endif],
_ABOVE_SS12U1=,_ABOVE_SS12U1=1)
if test "$_ABOVE_SS12U1"; then
# disable xannotate
CXXFLAGS="$CXXFLAGS -xannotate=no"
fi
AC_MSG_RESULT([$_res])
AC_LANG_RESTORE
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
else
LDFLAGS="$LDFLAGS -Wl,-z,ignore -Wl,-R,'\$\$ORIGIN:\$\$ORIGIN/..' -Wl,-z,lazyload -Wl,-z,combreloc -Wl,-z,muldefs"
LIBS="-lc $LIBS"
MKSHLIB_FORCE_ALL='-Wl,-z -Wl,allextract'
MKSHLIB_UNFORCE_ALL='-Wl,-z -Wl,defaultextract'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
ASFLAGS="$ASFLAGS -fPIC"
DSO_LDOPTS='-shared'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
_WARNINGS_CFLAGS=''
_WARNINGS_CXXFLAGS=''
if test "$OS_RELEASE" = "5.3"; then
AC_DEFINE(MUST_UNDEF_HAVE_BOOLEAN_AFTER_INCLUDES)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
fi
if test "$OS_RELEASE" = "5.5.1"; then
AC_DEFINE(NEED_USLEEP_PROTOTYPE)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
;;
*-sunos*)
DSO_LDOPTS='-Bdynamic'
MKSHLIB='-$(LD) $(DSO_LDOPTS) -o $@'
MKCSHLIB='-$(LD) $(DSO_LDOPTS) -o $@'
AC_DEFINE(SUNOS4)
AC_DEFINE(SPRINTF_RETURNS_STRING)
case "$(target_os)" in
sunos4.1*)
DLL_SUFFIX='.so.1.0'
;;
esac
;;
*-sysv4.2uw7*)
NSPR_LIBS="-lnspr$NSPR_VERSION -lplc$NSPR_VERSION -lplds$NSPR_VERSION -L/usr/ccs/lib -lcrt"
;;
*-os2*)
HOST_NSPR_MDCPUCFG='\"md/_os2.cfg\"'
;;
esac
dnl Only one oddball right now (QNX), but this gives us flexibility
dnl if any other platforms need to override this in the future.
AC_DEFINE_UNQUOTED(D_INO,$DIRENT_INO)
dnl ========================================================
dnl Any platform that doesn't have MKSHLIB_FORCE_ALL defined
dnl by now will not have any way to link most binaries (tests
dnl as well as viewer, apprunner, etc.), because some symbols
dnl will be left out of the "composite" .so's by ld as unneeded.
dnl So, by defining NO_LD_ARCHIVE_FLAGS for these platforms,
dnl they can link in the static libs that provide the missing
dnl symbols.
dnl ========================================================
NO_LD_ARCHIVE_FLAGS=
2010-07-19 22:43:54 -07:00
if test -z "$MKSHLIB_FORCE_ALL" -o -z "$MKSHLIB_UNFORCE_ALL"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
NO_LD_ARCHIVE_FLAGS=1
fi
case "$target" in
*-os2*)
NO_LD_ARCHIVE_FLAGS=
;;
*-aix4.3*|*-aix5*)
NO_LD_ARCHIVE_FLAGS=
;;
*-openvms*)
NO_LD_ARCHIVE_FLAGS=
;;
*-msvc*|*-mks*|*-mingw*|*-cygwin*|*-wince|*-winmo)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
if test -z "$GNU_CC"; then
NO_LD_ARCHIVE_FLAGS=
fi
;;
esac
AC_SUBST(NO_LD_ARCHIVE_FLAGS)
dnl ========================================================
dnl = Flags to strip unused symbols from .so components
dnl ========================================================
case "$target" in
*-linux*|*-kfreebsd*-gnu|*-gnu*)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS='-Wl,--version-script -Wl,$(BUILD_TOOLS)/gnu-ld-scripts/components-version-script'
;;
*-solaris*)
if test -z "$GNU_CC"; then
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS='-M $(BUILD_TOOLS)/gnu-ld-scripts/components-mapfile'
else
if test -z "$GCC_USE_GNU_LD"; then
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS='-Wl,-M -Wl,$(BUILD_TOOLS)/gnu-ld-scripts/components-mapfile'
else
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS='-Wl,--version-script -Wl,$(BUILD_TOOLS)/gnu-ld-scripts/components-version-script'
fi
fi
;;
*-nto*)
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS='-Wl,--version-script,$(BUILD_TOOLS)/gnu-ld-scripts/components-version-script'
;;
*-darwin*)
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS='-Wl,-exported_symbols_list -Wl,$(BUILD_TOOLS)/gnu-ld-scripts/components-export-list'
;;
*-cygwin*|*-mingw*|*-mks*|*-msvc|*-wince|*-winmo)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
if test -n "$GNU_CC"; then
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS='-Wl,--version-script,$(BUILD_TOOLS)/gnu-ld-scripts/components-version-script'
fi
;;
esac
if test -z "$COMPILE_ENVIRONMENT"; then
SKIP_COMPILER_CHECKS=1
SKIP_LIBRARY_CHECKS=1
fi
dnl Configure JIT support
case "$target" in
i?86-*)
ENABLE_TRACEJIT=1
NANOJIT_ARCH=i386
2010-05-22 15:56:42 -07:00
ENABLE_METHODJIT=1
ENABLE_MONOIC=1
ENABLE_POLYIC=1
2010-05-22 15:56:42 -07:00
AC_DEFINE(JS_CPU_X86)
AC_DEFINE(JS_NUNBOX32)
;;
x86_64*-*)
ENABLE_TRACEJIT=1
NANOJIT_ARCH=X64
ENABLE_METHODJIT=1
ENABLE_MONOIC=1
ENABLE_POLYIC=1
2010-05-22 15:56:42 -07:00
AC_DEFINE(JS_CPU_X64)
AC_DEFINE(JS_PUNBOX64)
;;
arm*-*)
ENABLE_TRACEJIT=1
NANOJIT_ARCH=ARM
ENABLE_METHODJIT=1
ENABLE_MONOIC=1
2010-05-22 15:56:42 -07:00
AC_DEFINE(JS_CPU_ARM)
AC_DEFINE(JS_NUNBOX32)
;;
sparc*-*)
ENABLE_TRACEJIT=1
NANOJIT_ARCH=Sparc
2010-05-22 15:56:42 -07:00
AC_DEFINE(JS_CPU_SPARC)
;;
esac
2010-05-22 15:56:42 -07:00
MOZ_ARG_DISABLE_BOOL(methodjit,
[ --disable-methodjit Disable method JIT support],
ENABLE_METHODJIT= )
MOZ_ARG_DISABLE_BOOL(monoic,
[ --disable-monoic Disable use of MICs by JIT compiler],
ENABLE_MONOIC= )
MOZ_ARG_DISABLE_BOOL(polyic,
[ --disable-polyic Disable use of PICs by JIT compiler],
ENABLE_POLYIC= )
MOZ_ARG_DISABLE_BOOL(tracejit,
[ --disable-tracejit Disable tracing JIT support],
ENABLE_TRACEJIT=)
2010-05-22 15:56:42 -07:00
MOZ_ARG_ENABLE_BOOL(methodjit-spew,
[ --enable-methodjit-spew Enable method JIT spew support],
ENABLE_METHODJIT_SPEW=1,
ENABLE_METHODJIT_SPEW= )
AC_SUBST(ENABLE_METHODJIT)
if test "$ENABLE_METHODJIT"; then
AC_DEFINE(JS_METHODJIT)
fi
if test "$ENABLE_MONOIC"; then
AC_DEFINE(JS_MONOIC)
fi
if test "$ENABLE_POLYIC"; then
AC_DEFINE(JS_POLYIC)
fi
2010-05-22 15:56:42 -07:00
if test "$ENABLE_METHODJIT_SPEW"; then
AC_DEFINE(JS_METHODJIT_SPEW)
fi
if test "$ENABLE_TRACEJIT"; then
AC_DEFINE(FEATURE_NANOJIT)
AC_DEFINE(JS_TRACER)
case "$target" in
i?86-*)
AC_DEFINE(AVMPLUS_IA32)
;;
x86_64*-*)
AC_DEFINE(AVMPLUS_AMD64)
AC_DEFINE(AVMPLUS_64BIT)
;;
arm*-*)
AC_DEFINE(AVMPLUS_ARM)
;;
sparc-*)
AC_DEFINE(AVMPLUS_SPARC)
;;
esac
case "$target" in
*-linux*|*-android-eabi)
AC_DEFINE(AVMPLUS_UNIX)
AC_DEFINE(AVMPLUS_LINUX)
;;
*-darwin*)
AC_DEFINE(AVMPLUS_UNIX)
;;
*-solaris*)
AC_DEFINE(AVMPLUS_UNIX)
;;
*-freebsd*|*-kfreebsd*)
AC_DEFINE(AVMPLUS_UNIX)
;;
*-gnu*)
AC_DEFINE(AVMPLUS_UNIX)
;;
*-cygwin*|*-mingw*|*-mks*|*-msvc*|*-wince|*-winmo)
AC_DEFINE(AVMPLUS_WIN32)
;;
*-os2*)
AC_DEFINE(AVMPLUS_OS2)
;;
*)
AC_MSG_ERROR([Unrecognized nanojit platform. Use --disable-tracejit to build without tracing JIT support.])
esac
fi # ENABLE_TRACEJIT
AC_SUBST(ENABLE_TRACEJIT)
AC_SUBST(NANOJIT_ARCH)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
if test -z "$SKIP_COMPILER_CHECKS"; then
dnl Checks for typedefs, structures, and compiler characteristics.
dnl ========================================================
AC_LANG_C
AC_HEADER_STDC
AC_C_CONST
AC_TYPE_MODE_T
AC_TYPE_OFF_T
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_MSG_CHECKING(for ssize_t)
AC_CACHE_VAL(ac_cv_type_ssize_t,
[AC_TRY_COMPILE([#include <stdio.h>
#include <sys/types.h>],
[ssize_t foo = 0;],
[ac_cv_type_ssize_t=true],
[ac_cv_type_ssize_t=false])])
if test "$ac_cv_type_ssize_t" = true ; then
AC_DEFINE(HAVE_SSIZE_T)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_STRUCT_ST_BLKSIZE
AC_MSG_CHECKING(for siginfo_t)
AC_CACHE_VAL(ac_cv_siginfo_t,
[AC_TRY_COMPILE([#define _POSIX_C_SOURCE 199506L
#include <signal.h>],
[siginfo_t* info;],
[ac_cv_siginfo_t=true],
[ac_cv_siginfo_t=false])])
if test "$ac_cv_siginfo_t" = true ; then
AC_DEFINE(HAVE_SIGINFO_T)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
dnl Find exact-width integer types, or figure them out
dnl ourselves.
dnl ========================================================
dnl Once this is working, we can delete the code for int16_t,
dnl etc. below.
AC_CHECK_HEADER(stdint.h)
if test "$ac_cv_header_stdint_h" = yes; then
AC_DEFINE(JS_HAVE_STDINT_H)
else
dnl We'll figure them out for ourselves. List more likely types
dnl earlier. If we ever really encounter a size for which none of
dnl the listed types are appropriate, we'll get a configure-time
dnl error; just add the right answer.
MOZ_N_BYTE_TYPE(JS_INT8_TYPE, 1, [char])
MOZ_N_BYTE_TYPE(JS_INT16_TYPE, 2, [short int long])
MOZ_N_BYTE_TYPE(JS_INT32_TYPE, 4, [int long 'long long' short])
MOZ_N_BYTE_TYPE(JS_INT64_TYPE, 8, [int long 'long long'])
MOZ_N_BYTE_TYPE(JS_INTPTR_TYPE, sizeof (void *),
[int long 'long long' short])
fi
MOZ_SIZE_OF_TYPE(JS_BYTES_PER_WORD, void*, 4 8)
if test "$moz_cv_size_of_JS_BYTES_PER_WORD" -eq "4"; then
AC_DEFINE(JS_BITS_PER_WORD_LOG2, 5)
elif test "$moz_cv_size_of_JS_BYTES_PER_WORD" -eq "8"; then
AC_DEFINE(JS_BITS_PER_WORD_LOG2, 6)
else
AC_MSG_ERROR([Unexpected JS_BYTES_PER_WORD])
fi
MOZ_ALIGN_OF_TYPE(JS_ALIGN_OF_POINTER, void*, 2 4 8 16)
MOZ_SIZE_OF_TYPE(JS_BYTES_PER_DOUBLE, double, 6 8 10 12 14)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl Check for int16_t, int32_t, int64_t, int64, uint, uint_t, and uint16_t.
dnl ========================================================
AC_MSG_CHECKING(for int16_t)
AC_CACHE_VAL(ac_cv_int16_t,
[AC_TRY_COMPILE([#include <stdio.h>
#include <sys/types.h>],
[int16_t foo = 0;],
[ac_cv_int16_t=true],
[ac_cv_int16_t=false])])
if test "$ac_cv_int16_t" = true ; then
AC_DEFINE(HAVE_INT16_T)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AC_MSG_CHECKING(for int32_t)
AC_CACHE_VAL(ac_cv_int32_t,
[AC_TRY_COMPILE([#include <stdio.h>
#include <sys/types.h>],
[int32_t foo = 0;],
[ac_cv_int32_t=true],
[ac_cv_int32_t=false])])
if test "$ac_cv_int32_t" = true ; then
AC_DEFINE(HAVE_INT32_T)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AC_MSG_CHECKING(for int64_t)
AC_CACHE_VAL(ac_cv_int64_t,
[AC_TRY_COMPILE([#include <stdio.h>
#include <sys/types.h>],
[int64_t foo = 0;],
[ac_cv_int64_t=true],
[ac_cv_int64_t=false])])
if test "$ac_cv_int64_t" = true ; then
AC_DEFINE(HAVE_INT64_T)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AC_MSG_CHECKING(for int64)
AC_CACHE_VAL(ac_cv_int64,
[AC_TRY_COMPILE([#include <stdio.h>
#include <sys/types.h>],
[int64 foo = 0;],
[ac_cv_int64=true],
[ac_cv_int64=false])])
if test "$ac_cv_int64" = true ; then
AC_DEFINE(HAVE_INT64)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AC_MSG_CHECKING(for uint)
AC_CACHE_VAL(ac_cv_uint,
[AC_TRY_COMPILE([#include <stdio.h>
#include <sys/types.h>],
[uint foo = 0;],
[ac_cv_uint=true],
[ac_cv_uint=false])])
if test "$ac_cv_uint" = true ; then
AC_DEFINE(HAVE_UINT)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AC_MSG_CHECKING(for uint_t)
AC_CACHE_VAL(ac_cv_uint_t,
[AC_TRY_COMPILE([#include <stdio.h>
#include <sys/types.h>],
[uint_t foo = 0;],
[ac_cv_uint_t=true],
[ac_cv_uint_t=false])])
if test "$ac_cv_uint_t" = true ; then
AC_DEFINE(HAVE_UINT_T)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AC_MSG_CHECKING(for uint16_t)
AC_CACHE_VAL(ac_cv_uint16_t,
[AC_TRY_COMPILE([#include <stdio.h>
#include <sys/types.h>],
[uint16_t foo = 0;],
[ac_cv_uint16_t=true],
[ac_cv_uint16_t=false])])
if test "$ac_cv_uint16_t" = true ; then
AC_DEFINE(HAVE_UINT16_T)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
dnl On the gcc trunk (as of 2001-02-09) _GNU_SOURCE, and thus __USE_GNU,
dnl are defined when compiling C++ but not C. Since the result of this
dnl test is used only in C++, do it in C++.
AC_LANG_CPLUSPLUS
AC_MSG_CHECKING(for uname.domainname)
AC_CACHE_VAL(ac_cv_have_uname_domainname_field,
[AC_TRY_COMPILE([#include <sys/utsname.h>],
[ struct utsname *res; char *domain;
(void)uname(res); if (res != 0) { domain = res->domainname; } ],
[ac_cv_have_uname_domainname_field=true],
[ac_cv_have_uname_domainname_field=false])])
if test "$ac_cv_have_uname_domainname_field" = "true"; then
AC_DEFINE(HAVE_UNAME_DOMAINNAME_FIELD)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AC_MSG_CHECKING(for uname.__domainname)
AC_CACHE_VAL(ac_cv_have_uname_us_domainname_field,
[AC_TRY_COMPILE([#include <sys/utsname.h>],
[ struct utsname *res; char *domain;
(void)uname(res); if (res != 0) { domain = res->__domainname; } ],
[ac_cv_have_uname_us_domainname_field=true],
[ac_cv_have_uname_us_domainname_field=false])])
if test "$ac_cv_have_uname_us_domainname_field" = "true"; then
AC_DEFINE(HAVE_UNAME_US_DOMAINNAME_FIELD)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AC_LANG_C
dnl Check for .hidden assembler directive and visibility attribute.
dnl Borrowed from glibc configure.in
dnl ===============================================================
if test "$GNU_CC"; then
AC_CACHE_CHECK(for visibility(hidden) attribute,
ac_cv_visibility_hidden,
[cat > conftest.c <<EOF
int foo __attribute__ ((visibility ("hidden"))) = 1;
EOF
ac_cv_visibility_hidden=no
if ${CC-cc} -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then
if egrep '\.(hidden|private_extern).*foo' conftest.s >/dev/null; then
ac_cv_visibility_hidden=yes
fi
fi
rm -f conftest.[cs]
])
if test "$ac_cv_visibility_hidden" = "yes"; then
AC_DEFINE(HAVE_VISIBILITY_HIDDEN_ATTRIBUTE)
AC_CACHE_CHECK(for visibility(default) attribute,
ac_cv_visibility_default,
[cat > conftest.c <<EOF
int foo __attribute__ ((visibility ("default"))) = 1;
EOF
ac_cv_visibility_default=no
if ${CC-cc} -fvisibility=hidden -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then
if ! egrep '\.(hidden|private_extern).*foo' conftest.s >/dev/null; then
ac_cv_visibility_default=yes
fi
fi
rm -f conftest.[cs]
])
if test "$ac_cv_visibility_default" = "yes"; then
AC_DEFINE(HAVE_VISIBILITY_ATTRIBUTE)
AC_CACHE_CHECK(for visibility pragma support,
ac_cv_visibility_pragma,
[cat > conftest.c <<EOF
#pragma GCC visibility push(hidden)
int foo_hidden = 1;
#pragma GCC visibility push(default)
int foo_default = 1;
EOF
ac_cv_visibility_pragma=no
if ${CC-cc} -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then
if egrep '\.(hidden|private_extern).*foo_hidden' conftest.s >/dev/null; then
if ! egrep '\.(hidden|private_extern).*foo_default' conftest.s > /dev/null; then
ac_cv_visibility_pragma=yes
fi
fi
fi
rm -f conftest.[cs]
])
if test "$ac_cv_visibility_pragma" = "yes"; then
AC_CACHE_CHECK(For gcc visibility bug with class-level attributes (GCC bug 26905),
ac_cv_have_visibility_class_bug,
[cat > conftest.c <<EOF
#pragma GCC visibility push(hidden)
struct __attribute__ ((visibility ("default"))) TestStruct {
static void Init();
};
__attribute__ ((visibility ("default"))) void TestFunc() {
TestStruct::Init();
}
EOF
ac_cv_have_visibility_class_bug=no
if ! ${CXX-g++} ${CXXFLAGS} ${DSO_PIC_CFLAGS} ${DSO_LDOPTS} -S -o conftest.S conftest.c > /dev/null 2>&1 ; then
ac_cv_have_visibility_class_bug=yes
else
if test `egrep -c '@PLT|\\$stub' conftest.S` = 0; then
ac_cv_have_visibility_class_bug=yes
fi
fi
rm -rf conftest.{c,S}
])
AC_CACHE_CHECK(For x86_64 gcc visibility bug with builtins (GCC bug 20297),
ac_cv_have_visibility_builtin_bug,
[cat > conftest.c <<EOF
#pragma GCC visibility push(hidden)
#pragma GCC visibility push(default)
#include <string.h>
#pragma GCC visibility pop
__attribute__ ((visibility ("default"))) void Func() {
char c[[100]];
memset(c, 0, sizeof(c));
}
EOF
ac_cv_have_visibility_builtin_bug=no
if ! ${CC-cc} ${CFLAGS} ${DSO_PIC_CFLAGS} ${DSO_LDOPTS} -O2 -S -o conftest.S conftest.c > /dev/null 2>&1 ; then
ac_cv_have_visibility_builtin_bug=yes
else
if test `grep -c "@PLT" conftest.S` = 0; then
ac_cv_visibility_builtin_bug=yes
fi
fi
rm -f conftest.{c,S}
])
if test "$ac_cv_have_visibility_builtin_bug" = "no" -a \
"$ac_cv_have_visibility_class_bug" = "no"; then
VISIBILITY_FLAGS='-I$(DIST)/system_wrappers_js -include $(topsrcdir)/config/gcc_hidden.h'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
WRAP_SYSTEM_INCLUDES=1
else
VISIBILITY_FLAGS='-fvisibility=hidden'
fi # have visibility pragma bug
fi # have visibility pragma
fi # have visibility(default) attribute
fi # have visibility(hidden) attribute
fi # GNU_CC
# visibility hidden flag for Sun Studio on Solaris
if test "$SOLARIS_SUNPRO_CC"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
VISIBILITY_FLAGS='-xldscope=hidden'
fi # Sun Studio on Solaris
AC_SUBST(WRAP_SYSTEM_INCLUDES)
AC_SUBST(VISIBILITY_FLAGS)
dnl Checks for header files.
dnl ========================================================
AC_HEADER_DIRENT
case "$target_os" in
freebsd*)
# for stuff like -lXshm
CPPFLAGS="${CPPFLAGS} ${X_CFLAGS}"
;;
esac
AC_CHECK_HEADERS(sys/byteorder.h compat.h getopt.h)
AC_CHECK_HEADERS(sys/bitypes.h memory.h unistd.h)
AC_CHECK_HEADERS(gnu/libc-version.h nl_types.h)
AC_CHECK_HEADERS(malloc.h)
AC_CHECK_HEADERS(X11/XKBlib.h)
dnl These are all the places some variant of statfs can be hiding.
AC_CHECK_HEADERS(sys/statvfs.h sys/statfs.h sys/vfs.h sys/mount.h)
dnl Try for MMX support
dnl NB - later gcc versions require -mmmx for this header to be successfully
dnl included (or another option which implies it, such as -march=pentium-mmx)
AC_CHECK_HEADERS(mmintrin.h)
dnl Check whether the compiler supports the new-style C++ standard
dnl library headers (i.e. <new>) or needs the old "new.h"
AC_LANG_CPLUSPLUS
NEW_H=new.h
AC_CHECK_HEADER(new, [NEW_H=new])
AC_DEFINE_UNQUOTED(NEW_H, <$NEW_H>)
AC_LANG_C
AC_ARG_ENABLE(dtrace,
[ --enable-dtrace build with dtrace support if available (default=no)],
[enable_dtrace="yes"],)
if test "x$enable_dtrace" = "xyes"; then
AC_CHECK_HEADER(sys/sdt.h, HAVE_DTRACE=1)
if test -n "$HAVE_DTRACE"; then
AC_DEFINE(INCLUDE_MOZILLA_DTRACE)
else
AC_MSG_ERROR([dtrace enabled but sys/sdt.h not found]);
fi
fi
AC_SUBST(HAVE_DTRACE)
case $target in
*-aix4.3*|*-aix5*)
;;
*)
AC_CHECK_HEADERS(sys/cdefs.h)
;;
esac
dnl Performance measurement headers.
AC_CHECK_HEADER(linux/perf_event.h, HAVE_LINUX_PERF_EVENT_H=1)
AC_SUBST(HAVE_LINUX_PERF_EVENT_H)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl Checks for libraries.
dnl ========================================================
case $target in
*-hpux11.*)
;;
*)
AC_CHECK_LIB(c_r, gethostbyname_r)
;;
esac
dnl We don't want to link with libdl even if it's present on OS X, since
dnl it's not used and not part of the default installation.
dnl The same goes for BeOS. OS/2 has dlfcn in libc.
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl We don't want to link against libm or libpthread on Darwin since
dnl they both are just symlinks to libSystem and explicitly linking
dnl against libSystem causes issues when debugging (see bug 299601).
case $target in
*-darwin*)
;;
*-beos*)
;;
*-os2*)
;;
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
*)
AC_SEARCH_LIBS(dlopen, dl,
AC_CHECK_HEADER(dlfcn.h,
AC_DEFINE(HAVE_DLOPEN)))
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
;;
esac
_SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -D_GNU_SOURCE"
AC_CHECK_FUNCS(dladdr)
CFLAGS="$_SAVE_CFLAGS"
if test ! "$GNU_CXX"; then
case $target in
*-aix*)
AC_CHECK_LIB(C_r, demangle)
;;
*)
AC_CHECK_LIB(C, demangle)
;;
esac
fi
dnl OS/2 has socket in libc.
case $target in
*-os2*)
;;
*)
AC_CHECK_LIB(socket, socket)
esac
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl ========================================================
dnl = pthread support
dnl = Start by checking whether the system support pthreads
dnl ========================================================
case "$target_os" in
darwin*)
USE_PTHREADS=1
;;
*)
MOZ_CHECK_PTHREADS(pthreads,
USE_PTHREADS=1 _PTHREAD_LDFLAGS="-lpthreads",
MOZ_CHECK_PTHREADS(pthread,
USE_PTHREADS=1 _PTHREAD_LDFLAGS="-lpthread",
MOZ_CHECK_PTHREADS(c_r,
USE_PTHREADS=1 _PTHREAD_LDFLAGS="-lc_r",
MOZ_CHECK_PTHREADS(c,
USE_PTHREADS=1
)
)
)
)
;;
esac
dnl ========================================================
dnl Check the command line for --with-pthreads
dnl ========================================================
MOZ_ARG_WITH_BOOL(pthreads,
[ --with-pthreads Force use of system pthread library with NSPR ],
[ if test "$USE_PTHREADS"x = x; then
AC_MSG_ERROR([ --with-pthreads specified for a system without pthread support ]);
fi],
USE_PTHREADS=
_PTHREAD_LDFLAGS=
)
dnl ========================================================
dnl Do the platform specific pthread hackery
dnl ========================================================
if test "$USE_PTHREADS"x != x
then
dnl
dnl See if -pthread is supported.
dnl
rm -f conftest*
ac_cv_have_dash_pthread=no
AC_MSG_CHECKING(whether ${CC-cc} accepts -pthread)
echo 'int main() { return 0; }' | cat > conftest.c
${CC-cc} -pthread -o conftest conftest.c > conftest.out 2>&1
if test $? -eq 0; then
if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthread`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then
ac_cv_have_dash_pthread=yes
case "$target_os" in
freebsd*)
# Freebsd doesn't use -pthread for compiles, it uses them for linking
;;
*)
CFLAGS="$CFLAGS -pthread"
CXXFLAGS="$CXXFLAGS -pthread"
;;
esac
fi
fi
rm -f conftest*
AC_MSG_RESULT($ac_cv_have_dash_pthread)
dnl
dnl See if -pthreads is supported.
dnl
ac_cv_have_dash_pthreads=no
if test "$ac_cv_have_dash_pthread" = "no"; then
AC_MSG_CHECKING(whether ${CC-cc} accepts -pthreads)
echo 'int main() { return 0; }' | cat > conftest.c
${CC-cc} -pthreads -o conftest conftest.c > conftest.out 2>&1
if test $? -eq 0; then
if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthreads`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then
ac_cv_have_dash_pthreads=yes
CFLAGS="$CFLAGS -pthreads"
CXXFLAGS="$CXXFLAGS -pthreads"
fi
fi
rm -f conftest*
AC_MSG_RESULT($ac_cv_have_dash_pthreads)
fi
case "$target" in
*-*-freebsd*)
AC_DEFINE(_REENTRANT)
AC_DEFINE(_THREAD_SAFE)
dnl -pthread links in -lc_r, so don't specify it explicitly.
if test "$ac_cv_have_dash_pthread" = "yes"; then
_PTHREAD_LDFLAGS="-pthread"
else
_PTHREAD_LDFLAGS="-lc_r"
fi
;;
*-*-openbsd*|*-*-bsdi*)
AC_DEFINE(_REENTRANT)
AC_DEFINE(_THREAD_SAFE)
dnl -pthread links in -lc_r, so don't specify it explicitly.
if test "$ac_cv_have_dash_pthread" = "yes"; then
_PTHREAD_LDFLAGS="-pthread"
fi
;;
*-*-linux*|*-*-kfreebsd*-gnu|*-*-gnu*)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_DEFINE(_REENTRANT)
;;
*-*-nto*)
AC_DEFINE(_REENTRANT)
;;
*-aix4.3*|*-aix5*)
AC_DEFINE(_REENTRANT)
;;
*-hpux11.*)
AC_DEFINE(_REENTRANT)
;;
alpha*-*-osf*)
AC_DEFINE(_REENTRANT)
;;
*-*-solaris*)
AC_DEFINE(_REENTRANT)
if test "$SOLARIS_SUNPRO_CC"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
CFLAGS="$CFLAGS -mt"
CXXFLAGS="$CXXFLAGS -mt"
fi
;;
esac
LDFLAGS="${_PTHREAD_LDFLAGS} ${LDFLAGS}"
fi
dnl ========================================================
dnl See if mmap sees writes
dnl For cross compiling, just define it as no, which is a safe default
dnl ========================================================
AC_MSG_CHECKING(whether mmap() sees write()s)
changequote(,)
mmap_test_prog='
#include <stdlib.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
char fname[] = "conftest.file";
char zbuff[1024]; /* Fractional page is probably worst case */
int main() {
char *map;
int fd;
int i;
unlink(fname);
fd = open(fname, O_RDWR | O_CREAT, 0660);
if(fd<0) return 1;
unlink(fname);
write(fd, zbuff, sizeof(zbuff));
lseek(fd, 0, SEEK_SET);
map = (char*)mmap(0, sizeof(zbuff), PROT_READ, MAP_SHARED, fd, 0);
if(map==(char*)-1) return 2;
for(i=0; fname[i]; i++) {
int rc = write(fd, &fname[i], 1);
if(map[i]!=fname[i]) return 4;
}
return 0;
}
'
changequote([,])
AC_TRY_RUN($mmap_test_prog , result="yes", result="no", result="yes")
AC_MSG_RESULT("$result")
if test "$result" = "no"; then
AC_DEFINE(MMAP_MISSES_WRITES)
fi
dnl Checks for library functions.
dnl ========================================================
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MEMCMP
AC_CHECK_FUNCS([fchmod flockfile getc_unlocked _getc_nolock getpagesize \
lchown localtime_r lstat64 memmove random rint sbrk snprintf \
stat64 statvfs statvfs64 strerror strtok_r truncate64])
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl Windows functions, for mingw.
AC_TRY_LINK([#include <windows.h>],
[SYSTEMTIME st;FILETIME ft;SystemTimeToFileTime(&st,&ft);],
ac_cv_have_systemtimetofiletime="yes",
ac_cv_have_systemtimetofiletime="no")
if test "$ac_cv_have_systemtimetofiletime" = "yes"; then
AC_DEFINE(HAVE_SYSTEMTIMETOFILETIME)
fi
AC_TRY_LINK([#include <windows.h>],
[FILETIME ft;GetSystemTimeAsFileTime(&ft);],
ac_cv_have_getsystemtimeasfiletime="yes",
ac_cv_have_getsystemtimeasfiletime="no")
if test "$ac_cv_have_getsystemtimeasfiletime" = "yes"; then
AC_DEFINE(HAVE_GETSYSTEMTIMEASFILETIME)
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl check for wcrtomb/mbrtowc
dnl =======================================================================
2010-07-19 22:43:54 -07:00
if test -z "$MACOS_DEPLOYMENT_TARGET" -o "$MACOS_DEPLOYMENT_TARGET" -ge "100300"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_CACHE_CHECK(for wcrtomb,
ac_cv_have_wcrtomb,
[AC_TRY_LINK([#include <wchar.h>],
[mbstate_t ps={0};wcrtomb(0,'f',&ps);],
ac_cv_have_wcrtomb="yes",
ac_cv_have_wcrtomb="no")])
if test "$ac_cv_have_wcrtomb" = "yes"; then
AC_DEFINE(HAVE_WCRTOMB)
fi
AC_CACHE_CHECK(for mbrtowc,
ac_cv_have_mbrtowc,
[AC_TRY_LINK([#include <wchar.h>],
[mbstate_t ps={0};mbrtowc(0,0,0,&ps);],
ac_cv_have_mbrtowc="yes",
ac_cv_have_mbrtowc="no")])
if test "$ac_cv_have_mbrtowc" = "yes"; then
AC_DEFINE(HAVE_MBRTOWC)
fi
AC_LANG_RESTORE
fi
AC_CACHE_CHECK(
[for res_ninit()],
ac_cv_func_res_ninit,
[AC_TRY_LINK([
#ifdef linux
#define _BSD_SOURCE 1
#endif
#include <resolv.h>
],
[int foo = res_ninit(&_res);],
[ac_cv_func_res_ninit=yes],
[ac_cv_func_res_ninit=no])
])
if test "$ac_cv_func_res_ninit" = "yes"; then
AC_DEFINE(HAVE_RES_NINIT)
dnl must add the link line we do something as foolish as this... dougt
dnl else
dnl AC_CHECK_LIB(bind, res_ninit, AC_DEFINE(HAVE_RES_NINIT),
dnl AC_CHECK_LIB(resolv, res_ninit, AC_DEFINE(HAVE_RES_NINIT)))
fi
AC_LANG_CPLUSPLUS
AC_CACHE_CHECK(
[for gnu_get_libc_version()],
ac_cv_func_gnu_get_libc_version,
[AC_TRY_LINK([
#ifdef HAVE_GNU_LIBC_VERSION_H
#include <gnu/libc-version.h>
#endif
],
[const char *glibc_version = gnu_get_libc_version();],
[ac_cv_func_gnu_get_libc_version=yes],
[ac_cv_func_gnu_get_libc_version=no]
)]
)
if test "$ac_cv_func_gnu_get_libc_version" = "yes"; then
AC_DEFINE(HAVE_GNU_GET_LIBC_VERSION)
fi
case $target_os in
os2*|msvc*|mks*|cygwin*|mingw*|darwin*|wince*|winmo*|beos*)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
;;
*)
AC_CHECK_LIB(c, iconv, [_ICONV_LIBS="$_ICONV_LIBS"],
AC_CHECK_LIB(iconv, iconv, [_ICONV_LIBS="$_ICONV_LIBS -liconv"],
AC_CHECK_LIB(iconv, libiconv, [_ICONV_LIBS="$_ICONV_LIBS -liconv"])))
_SAVE_LIBS=$LIBS
LIBS="$LIBS $_ICONV_LIBS"
AC_CACHE_CHECK(
[for iconv()],
ac_cv_func_iconv,
[AC_TRY_LINK([
#include <stdlib.h>
#include <iconv.h>
],
[
iconv_t h = iconv_open("", "");
iconv(h, NULL, NULL, NULL, NULL);
iconv_close(h);
],
[ac_cv_func_iconv=yes],
[ac_cv_func_iconv=no]
)]
)
if test "$ac_cv_func_iconv" = "yes"; then
AC_DEFINE(HAVE_ICONV)
DYNAMIC_XPCOM_LIBS="$DYNAMIC_XPCOM_LIBS $_ICONV_LIBS"
LIBXUL_LIBS="$LIBXUL_LIBS $_ICONV_LIBS"
LIBICONV="$_ICONV_LIBS"
AC_CACHE_CHECK(
[for iconv() with const input],
ac_cv_func_const_iconv,
[AC_TRY_COMPILE([
#include <stdlib.h>
#include <iconv.h>
],
[
const char *input = "testing";
iconv_t h = iconv_open("", "");
iconv(h, &input, NULL, NULL, NULL);
iconv_close(h);
],
[ac_cv_func_const_iconv=yes],
[ac_cv_func_const_iconv=no]
)]
)
if test "$ac_cv_func_const_iconv" = "yes"; then
AC_DEFINE(HAVE_ICONV_WITH_CONST_INPUT)
fi
fi
LIBS=$_SAVE_LIBS
;;
esac
AC_LANG_C
dnl **********************
dnl *** va_copy checks ***
dnl **********************
dnl we currently check for all three va_copy possibilities, so we get
dnl all results in config.log for bug reports.
AC_MSG_CHECKING(for an implementation of va_copy())
AC_CACHE_VAL(ac_cv_va_copy,[
AC_TRY_RUN([
#include <stdarg.h>
void f (int i, ...) {
va_list args1, args2;
va_start (args1, i);
va_copy (args2, args1);
if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
exit (1);
va_end (args1); va_end (args2);
}
int main() { f (0, 42); return 0; }],
ac_cv_va_copy=yes,
ac_cv_va_copy=no,
ac_cv_va_copy=no
)
])
AC_MSG_RESULT($ac_cv_va_copy)
AC_MSG_CHECKING(for an implementation of __va_copy())
AC_CACHE_VAL(ac_cv___va_copy,[
AC_TRY_RUN([
#include <stdarg.h>
void f (int i, ...) {
va_list args1, args2;
va_start (args1, i);
__va_copy (args2, args1);
if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
exit (1);
va_end (args1); va_end (args2);
}
int main() { f (0, 42); return 0; }],
ac_cv___va_copy=yes,
ac_cv___va_copy=no,
ac_cv___va_copy=no
)
])
AC_MSG_RESULT($ac_cv___va_copy)
AC_MSG_CHECKING(whether va_lists can be copied by value)
AC_CACHE_VAL(ac_cv_va_val_copy,[
AC_TRY_RUN([
#include <stdarg.h>
void f (int i, ...) {
va_list args1, args2;
va_start (args1, i);
args2 = args1;
if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42)
exit (1);
va_end (args1); va_end (args2);
}
int main() { f (0, 42); return 0; }],
ac_cv_va_val_copy=yes,
ac_cv_va_val_copy=no,
ac_cv_va_val_copy=yes
)
])
if test "x$ac_cv_va_copy" = "xyes"; then
AC_DEFINE(VA_COPY, va_copy)
AC_DEFINE(HAVE_VA_COPY)
elif test "x$ac_cv___va_copy" = "xyes"; then
AC_DEFINE(VA_COPY, __va_copy)
AC_DEFINE(HAVE_VA_COPY)
fi
if test "x$ac_cv_va_val_copy" = "xno"; then
AC_DEFINE(HAVE_VA_LIST_AS_ARRAY)
fi
AC_MSG_RESULT($ac_cv_va_val_copy)
dnl Check for dll-challenged libc's.
dnl This check is apparently only needed for Linux.
case "$target" in
*-linux*)
dnl ===================================================================
_curdir=`pwd`
export _curdir
rm -rf conftest* _conftest
mkdir _conftest
cat >> conftest.C <<\EOF
#include <stdio.h>
#include <link.h>
#include <dlfcn.h>
#ifdef _dl_loaded
void __dump_link_map(void) {
struct link_map *map = _dl_loaded;
while (NULL != map) {printf("0x%08x %s\n", map->l_addr, map->l_name); map = map->l_next;}
}
int main() {
dlopen("./conftest1.so",RTLD_LAZY);
dlopen("./../_conftest/conftest1.so",RTLD_LAZY);
dlopen("CURDIR/_conftest/conftest1.so",RTLD_LAZY);
dlopen("CURDIR/_conftest/../_conftest/conftest1.so",RTLD_LAZY);
__dump_link_map();
}
#else
/* _dl_loaded isn't defined, so this should be either a libc5 (glibc1) system, or a glibc2 system that doesn't have the multiple load bug (i.e., RH6.0).*/
int main() { printf("./conftest1.so\n"); }
#endif
EOF
$PERL -p -i -e "s/CURDIR/\$ENV{_curdir}/g;" conftest.C
cat >> conftest1.C <<\EOF
#include <stdio.h>
void foo(void) {printf("foo in dll called\n");}
EOF
${CXX-g++} -fPIC -c -g conftest1.C
${CXX-g++} -shared -Wl,-h -Wl,conftest1.so -o conftest1.so conftest1.o
${CXX-g++} -g conftest.C -o conftest -ldl
cp -f conftest1.so conftest _conftest
cd _conftest
if test `./conftest | grep conftest1.so | wc -l` -gt 1
then
echo
echo "*** Your libc has a bug that can result in loading the same dynamic"
echo "*** library multiple times. This bug is known to be fixed in glibc-2.0.7-32"
echo "*** or later. However, if you choose not to upgrade, the only effect"
echo "*** will be excessive memory usage at runtime."
echo
fi
cd ${_curdir}
rm -rf conftest* _conftest
dnl ===================================================================
;;
esac
dnl ===================================================================
dnl ========================================================
dnl Put your C++ language/feature checks below
dnl ========================================================
AC_LANG_CPLUSPLUS
ARM_ABI_PREFIX=
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
HAVE_GCC3_ABI=
if test "$GNU_CC"; then
if test "$CPU_ARCH" = "arm" ; then
AC_CACHE_CHECK(for ARM EABI,
ac_cv_gcc_arm_eabi,
[AC_TRY_COMPILE([],
[
#if defined(__ARM_EABI__)
return 0;
#else
#error Not ARM EABI.
#endif
],
ac_cv_gcc_arm_eabi="yes",
ac_cv_gcc_arm_eabi="no")])
if test "$ac_cv_gcc_arm_eabi" = "yes"; then
ARM_ABI_PREFIX=eabi-
else
ARM_ABI_PREFIX=oabi-
fi
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_CACHE_CHECK(for gcc 3.0 ABI,
ac_cv_gcc_three_abi,
[AC_TRY_COMPILE([],
[
#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */
return 0;
#else
#error Not gcc3.
#endif
],
ac_cv_gcc_three_abi="yes",
ac_cv_gcc_three_abi="no")])
if test "$ac_cv_gcc_three_abi" = "yes"; then
TARGET_COMPILER_ABI="${TARGET_COMPILER_ABI-${ARM_ABI_PREFIX}gcc3}"
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
HAVE_GCC3_ABI=1
else
TARGET_COMPILER_ABI="${TARGET_COMPILER_ABI-${ARM_ABI_PREFIX}gcc2}"
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
fi
AC_SUBST(HAVE_GCC3_ABI)
AC_CACHE_CHECK(for C++ \"explicit\" keyword,
ac_cv_cpp_explicit,
[AC_TRY_COMPILE(class X {
public: explicit X(int i) : i_(i) {}
private: int i_;
};,
X x(3);,
ac_cv_cpp_explicit=yes,
ac_cv_cpp_explicit=no)])
if test "$ac_cv_cpp_explicit" = yes ; then
AC_DEFINE(HAVE_CPP_EXPLICIT)
fi
AC_CACHE_CHECK(for C++ \"typename\" keyword,
ac_cv_cpp_typename,
[AC_TRY_COMPILE(class param {
public:
typedef unsigned long num_type;
};
template <class T> class tplt {
public:
typedef typename T::num_type t_num_type;
t_num_type foo(typename T::num_type num) {
return num;
}
};,
tplt<param> A;
A.foo(0);,
ac_cv_cpp_typename=yes,
ac_cv_cpp_typename=no)])
if test "$ac_cv_cpp_typename" = yes ; then
AC_DEFINE(HAVE_CPP_TYPENAME)
fi
dnl Check for support of modern template specialization syntax
dnl Test code and requirement from scc@netscape.com.
dnl Autoconf cut-and-paste job by waterson@netscape.com
AC_CACHE_CHECK(for modern C++ template specialization syntax support,
ac_cv_cpp_modern_specialize_template_syntax,
[AC_TRY_COMPILE(template <class T> struct X { int a; };
class Y {};
template <> struct X<Y> { double a; };,
X<int> int_x;
X<Y> y_x;,
ac_cv_cpp_modern_specialize_template_syntax=yes,
ac_cv_cpp_modern_specialize_template_syntax=no)])
if test "$ac_cv_cpp_modern_specialize_template_syntax" = yes ; then
AC_DEFINE(HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX)
fi
dnl Some compilers support only full specialization, and some don't.
AC_CACHE_CHECK(whether partial template specialization works,
ac_cv_cpp_partial_specialization,
[AC_TRY_COMPILE(template <class T> class Foo {};
template <class T> class Foo<T*> {};,
return 0;,
ac_cv_cpp_partial_specialization=yes,
ac_cv_cpp_partial_specialization=no)])
if test "$ac_cv_cpp_partial_specialization" = yes ; then
AC_DEFINE(HAVE_CPP_PARTIAL_SPECIALIZATION)
fi
dnl Some compilers have limited support for operators with templates;
dnl specifically, it is necessary to define derived operators when a base
dnl class's operator declaration should suffice.
AC_CACHE_CHECK(whether operators must be re-defined for templates derived from templates,
ac_cv_need_derived_template_operators,
[AC_TRY_COMPILE([template <class T> class Base { };
template <class T>
Base<T> operator+(const Base<T>& lhs, const Base<T>& rhs) { return lhs; }
template <class T> class Derived : public Base<T> { };],
[Derived<char> a, b;
Base<char> c = a + b;
return 0;],
ac_cv_need_derived_template_operators=no,
ac_cv_need_derived_template_operators=yes)])
if test "$ac_cv_need_derived_template_operators" = yes ; then
AC_DEFINE(NEED_CPP_DERIVED_TEMPLATE_OPERATORS)
fi
dnl Some compilers have trouble detecting that a template class
dnl that derives from another template is actually an instance
dnl of the base class. This test checks for that.
AC_CACHE_CHECK(whether we need to cast a derived template to pass as its base class,
ac_cv_need_cpp_template_cast_to_base,
[AC_TRY_COMPILE([template <class T> class Base { };
template <class T> class Derived : public Base<T> { };
template <class T> int foo(const Base<T>&) { return 0; }],
[Derived<char> bar; return foo(bar);],
ac_cv_need_cpp_template_cast_to_base=no,
ac_cv_need_cpp_template_cast_to_base=yes)])
if test "$ac_cv_need_cpp_template_cast_to_base" = yes ; then
AC_DEFINE(NEED_CPP_TEMPLATE_CAST_TO_BASE)
fi
dnl Some compilers have trouble resolving the ambiguity between two
dnl functions whose arguments differ only by cv-qualifications.
AC_CACHE_CHECK(whether the compiler can resolve const ambiguities for templates,
ac_cv_can_resolve_const_ambiguity,
[AC_TRY_COMPILE([
template <class T> class ptrClass {
public: T* ptr;
};
template <class T> T* a(ptrClass<T> *arg) {
return arg->ptr;
}
template <class T>
const T* a(const ptrClass<T> *arg) {
return arg->ptr;
}
],
[ ptrClass<int> i;
a(&i); ],
ac_cv_can_resolve_const_ambiguity=yes,
ac_cv_can_resolve_const_ambiguity=no)])
if test "$ac_cv_can_resolve_const_ambiguity" = no ; then
AC_DEFINE(CANT_RESOLVE_CPP_CONST_AMBIGUITY)
fi
dnl
dnl We don't do exceptions on unix. The only reason this used to be here
dnl is that mozilla/xpcom/tests/TestCOMPtr.cpp has a test which uses
dnl exceptions. But, we turn exceptions off by default and this test breaks.
dnl So im commenting this out until someone writes some artificial
dnl intelligence to detect not only if the compiler has exceptions, but if
dnl they are enabled as well.
dnl
dnl AC_CACHE_CHECK(for C++ \"exceptions\",
dnl ac_cv_cpp_exceptions,
dnl [AC_TRY_COMPILE(class X { public: X() {} };
dnl static void F() { throw X(); },
dnl try { F(); } catch(X & e) { },
dnl ac_cv_cpp_exceptions=yes,
dnl ac_cv_cpp_exceptions=no)])
dnl if test $ac_cv_cpp_exceptions = yes ; then
dnl AC_DEFINE(HAVE_CPP_EXCEPTIONS)
dnl fi
dnl Some compilers have marginal |using| support; for example, gcc-2.7.2.3
dnl supports it well enough to allow us to use it to change access, but not
dnl to resolve ambiguity. The next two tests determine how well the |using|
dnl keyword is supported.
dnl
dnl Check to see if we can change access with |using|. Test both a
dnl legal and an illegal example.
AC_CACHE_CHECK(whether the C++ \"using\" keyword can change access,
ac_cv_cpp_access_changing_using2,
[AC_TRY_COMPILE(
class A { protected: int foo() { return 0; } };
class B : public A { public: using A::foo; };,
B b; return b.foo();,
[AC_TRY_COMPILE(
class A { public: int foo() { return 1; } };
class B : public A { private: using A::foo; };,
B b; return b.foo();,
ac_cv_cpp_access_changing_using2=no,
ac_cv_cpp_access_changing_using2=yes)],
ac_cv_cpp_access_changing_using2=no)])
if test "$ac_cv_cpp_access_changing_using2" = yes ; then
AC_DEFINE(HAVE_CPP_ACCESS_CHANGING_USING)
fi
dnl Check to see if we can resolve ambiguity with |using|.
AC_CACHE_CHECK(whether the C++ \"using\" keyword resolves ambiguity,
ac_cv_cpp_ambiguity_resolving_using,
[AC_TRY_COMPILE(class X {
public: int go(const X&) {return 3;}
int jo(const X&) {return 3;}
};
class Y : public X {
public: int go(int) {return 2;}
int jo(int) {return 2;}
using X::jo;
private: using X::go;
};,
X x; Y y; y.jo(x);,
ac_cv_cpp_ambiguity_resolving_using=yes,
ac_cv_cpp_ambiguity_resolving_using=no)])
if test "$ac_cv_cpp_ambiguity_resolving_using" = yes ; then
AC_DEFINE(HAVE_CPP_AMBIGUITY_RESOLVING_USING)
fi
dnl Check to see if the |std| namespace is supported. If so, we'll want
dnl to qualify any standard library calls with "std::" to ensure that
dnl those functions can be resolved.
AC_CACHE_CHECK(for \"std::\" namespace,
ac_cv_cpp_namespace_std,
[AC_TRY_COMPILE([#include <algorithm>],
[return std::min(0, 1);],
ac_cv_cpp_namespace_std=yes,
ac_cv_cpp_namespace_std=no)])
if test "$ac_cv_cpp_namespace_std" = yes ; then
AC_DEFINE(HAVE_CPP_NAMESPACE_STD)
fi
dnl Older compilers are overly ambitious with respect to using the standard
dnl template library's |operator!=()| when |operator==()| is defined. In
dnl which case, defining |operator!=()| in addition to |operator==()| causes
dnl ambiguity at compile-time. This test checks for that case.
AC_CACHE_CHECK(whether standard template operator!=() is ambiguous,
ac_cv_cpp_unambiguous_std_notequal,
[AC_TRY_COMPILE([#include <algorithm>
struct T1 {};
int operator==(const T1&, const T1&) { return 0; }
int operator!=(const T1&, const T1&) { return 0; }],
[T1 a,b; return a != b;],
ac_cv_cpp_unambiguous_std_notequal=unambiguous,
ac_cv_cpp_unambiguous_std_notequal=ambiguous)])
if test "$ac_cv_cpp_unambiguous_std_notequal" = unambiguous ; then
AC_DEFINE(HAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL)
fi
AC_CACHE_CHECK(for C++ reinterpret_cast,
ac_cv_cpp_reinterpret_cast,
[AC_TRY_COMPILE(struct X { int i; };
struct Y { int i; };,
X x; X*const z = &x;Y*y = reinterpret_cast<Y*>(z);,
ac_cv_cpp_reinterpret_cast=yes,
ac_cv_cpp_reinterpret_cast=no)])
if test "$ac_cv_cpp_reinterpret_cast" = yes ; then
AC_DEFINE(HAVE_CPP_NEW_CASTS)
fi
dnl See if a dynamic_cast to void* gives the most derived object.
AC_CACHE_CHECK(for C++ dynamic_cast to void*,
ac_cv_cpp_dynamic_cast_void_ptr,
[AC_TRY_RUN([class X { int i; public: virtual ~X() { } };
class Y { int j; public: virtual ~Y() { } };
class Z : public X, public Y { int k; };
int main() {
Z mdo;
X *subx = (X*)&mdo;
Y *suby = (Y*)&mdo;
return !((((void*)&mdo != (void*)subx) &&
((void*)&mdo == dynamic_cast<void*>(subx))) ||
(((void*)&mdo != (void*)suby) &&
((void*)&mdo == dynamic_cast<void*>(suby))));
}],
ac_cv_cpp_dynamic_cast_void_ptr=yes,
ac_cv_cpp_dynamic_cast_void_ptr=no,
ac_cv_cpp_dynamic_cast_void_ptr=no)])
if test "$ac_cv_cpp_dynamic_cast_void_ptr" = yes ; then
AC_DEFINE(HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR)
fi
dnl note that this one is reversed - if the test fails, then
dnl we require implementations of unused virtual methods. Which
dnl really blows because it means we'll have useless vtable
dnl bloat.
AC_CACHE_CHECK(whether C++ requires implementation of unused virtual methods,
ac_cv_cpp_unused_required,
[AC_TRY_LINK(class X {private: virtual void never_called();};,
X x;,
ac_cv_cpp_unused_required=no,
ac_cv_cpp_unused_required=yes)])
if test "$ac_cv_cpp_unused_required" = yes ; then
AC_DEFINE(NEED_CPP_UNUSED_IMPLEMENTATIONS)
fi
dnl Some compilers have trouble comparing a constant reference to a templatized
dnl class to zero, and require an explicit operator==() to be defined that takes
dnl an int. This test separates the strong from the weak.
AC_CACHE_CHECK(for trouble comparing to zero near std::operator!=(),
ac_cv_trouble_comparing_to_zero,
[AC_TRY_COMPILE([#include <algorithm>
template <class T> class Foo {};
class T2;
template <class T> int operator==(const T2*, const T&) { return 0; }
template <class T> int operator!=(const T2*, const T&) { return 0; }],
[Foo<int> f; return (0 != f);],
ac_cv_trouble_comparing_to_zero=no,
ac_cv_trouble_comparing_to_zero=yes)])
if test "$ac_cv_trouble_comparing_to_zero" = yes ; then
AC_DEFINE(HAVE_CPP_TROUBLE_COMPARING_TO_ZERO)
fi
dnl End of C++ language/feature checks
AC_LANG_C
dnl ========================================================
dnl = Internationalization checks
dnl ========================================================
dnl
dnl Internationalization and Locale support is different
dnl on various UNIX platforms. Checks for specific i18n
dnl features go here.
dnl check for LC_MESSAGES
AC_CACHE_CHECK(for LC_MESSAGES,
ac_cv_i18n_lc_messages,
[AC_TRY_COMPILE([#include <locale.h>],
[int category = LC_MESSAGES;],
ac_cv_i18n_lc_messages=yes,
ac_cv_i18n_lc_messages=no)])
if test "$ac_cv_i18n_lc_messages" = yes; then
AC_DEFINE(HAVE_I18N_LC_MESSAGES)
fi
fi # SKIP_COMPILER_CHECKS
TARGET_XPCOM_ABI=
if test -n "${CPU_ARCH}" -a -n "${TARGET_COMPILER_ABI}"; then
TARGET_XPCOM_ABI="${CPU_ARCH}-${TARGET_COMPILER_ABI}"
fi
dnl Mozilla specific options
dnl ========================================================
dnl The macros used for command line options
dnl are defined in build/autoconf/altoptions.m4.
dnl ========================================================
dnl =
dnl = Check for external package dependencies
dnl =
dnl ========================================================
MOZ_ARG_HEADER(External Packages)
dnl ========================================================
dnl = Find the right NSPR to use.
dnl ========================================================
MOZ_ARG_WITH_BOOL(system-nspr,
[ --with-system-nspr Use an NSPR that is already built and installed.
Use the 'nspr-config' script in the current path,
or look for the script in the directories given with
--with-nspr-exec-prefix or --with-nspr-prefix.
(Those flags are only checked if you specify
--with-system-nspr.)],
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
_USE_SYSTEM_NSPR=1 )
MOZ_ARG_WITH_STRING(nspr-cflags,
[ --with-nspr-cflags=FLAGS
Pass FLAGS to CC when building code that uses NSPR.
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
Use this when there's no accurate nspr-config
script available. This is the case when building
SpiderMonkey as part of the Mozilla tree: the
top-level configure script computes NSPR flags
that accomodate the quirks of that environment.],
NSPR_CFLAGS=$withval)
MOZ_ARG_WITH_STRING(nspr-libs,
[ --with-nspr-libs=LIBS Pass LIBS to LD when linking code that uses NSPR.
See --with-nspr-cflags for more details.],
NSPR_LIBS=$withval)
AC_SUBST(NSPR_CFLAGS)
AC_SUBST(NSPR_LIBS)
dnl Pass either --with-system-nspr or (--with-nspr-cflags and
dnl --with-nspr-libs), but not both.
2010-07-19 22:43:54 -07:00
if test "$_USE_SYSTEM_NSPR" && (test "$NSPR_CFLAGS" -o "$NSPR_LIBS"); then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_MSG_ERROR([--with-system-nspr and --with-nspr-libs/cflags are mutually exclusive.
See 'configure --help'.])
fi
if test -n "$_USE_SYSTEM_NSPR"; then
MOZ_NATIVE_NSPR=
AM_PATH_NSPR(4.7.0, [MOZ_NATIVE_NSPR=1])
if test -z "$MOZ_NATIVE_NSPR"; then
AC_MSG_ERROR([--with-system-nspr given, but configure could not find a suitable NSPR.
Pass --with-nspr-exec-prefix, --with-nspr-prefix, or --with-nspr-cflags/libs.
See 'configure --help'.])
fi
fi
if test -n "$MOZ_NATIVE_NSPR"; then
_SAVE_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS $NSPR_CFLAGS"
AC_TRY_COMPILE([#include "prlog.h"],
[#ifndef PR_STATIC_ASSERT
#error PR_STATIC_ASSERT not defined
#endif],
[MOZ_NATIVE_NSPR=1],
AC_MSG_ERROR([system NSPR does not support PR_STATIC_ASSERT]))
CFLAGS=$_SAVE_CFLAGS
fi
dnl ========================================================
dnl Use ARM userspace kernel helpers; tell NSPR to enable
dnl their usage and use them in spidermonkey.
dnl ========================================================
MOZ_ARG_WITH_BOOL(arm-kuser,
[ --with-arm-kuser Use kuser helpers (Linux/ARM only -- requires kernel 2.6.13 or later)],
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
USE_ARM_KUSER=1,
USE_ARM_KUSER=)
if test -n "$USE_ARM_KUSER"; then
AC_DEFINE(USE_ARM_KUSER)
fi
dnl ========================================================
dnl =
dnl = Application
dnl =
dnl ========================================================
MOZ_ARG_HEADER(Application)
BUILD_STATIC_LIBS=
ENABLE_TESTS=1
dnl ========================================================
dnl =
dnl = Components & Features
dnl =
dnl ========================================================
MOZ_ARG_HEADER(Components and Features)
dnl ========================================================
dnl ========================================================
dnl = Enable building the Thumb2 instruction set
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(thumb2,
[ --enable-thumb2 Enable Thumb2 instruction set],
MOZ_THUMB2=1,)
if test -n "$MOZ_THUMB2"; then
case "$target_cpu" in
arm*)
if test "$GNU_CC"; then
AC_DEFINE(MOZ_THUMB2)
CFLAGS="$CFLAGS -march=armv7-a -mthumb -Wa, -march=armv7-a -Wa, -mthumb"
CXXFLAGS="$CXXFLAGS -march=armv7-a -mthumb -Wa, -march=armv7-a -Wa, -mthumb"
ASFLAGS="$ASFLAGS -march=armv7-a -mthumb"
else
AC_MSG_ERROR([--enable-thumb2 is not supported for non-GNU toolchains])
fi
;;
*)
AC_MSG_ERROR([--enable-thumb2 is not supported for non-ARM CPU architectures])
;;
esac
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl ========================================================
dnl = Localization
dnl ========================================================
MOZ_ARG_ENABLE_STRING(ui-locale,
[ --enable-ui-locale=ab-CD
Select the user interface locale (default: en-US)],
MOZ_UI_LOCALE=$enableval )
AC_SUBST(MOZ_UI_LOCALE)
dnl ========================================================
dnl build the tests by default
dnl ========================================================
MOZ_ARG_DISABLE_BOOL(tests,
[ --disable-tests Do not build test libraries & programs],
ENABLE_TESTS=,
ENABLE_TESTS=1 )
dnl ========================================================
dnl =
dnl = Module specific options
dnl =
dnl ========================================================
MOZ_ARG_HEADER(Individual module options)
dnl ========================================================
dnl =
dnl = Debugging Options
dnl =
dnl ========================================================
MOZ_ARG_HEADER(Debugging and Optimizations)
dnl ========================================================
dnl = Disable building with debug info.
dnl = Debugging is OFF by default
dnl ========================================================
if test -z "$MOZ_DEBUG_FLAGS"
then
case "$target" in
*-irix*)
if test "$GNU_CC"; then
GCC_VERSION=`$CC -v 2>&1 | awk '/version/ { print $3 }'`
case "$GCC_VERSION" in
2.95.*)
MOZ_DEBUG_FLAGS=""
;;
*)
MOZ_DEBUG_FLAGS="-g"
;;
esac
else
MOZ_DEBUG_FLAGS="-g"
fi
;;
*)
MOZ_DEBUG_FLAGS="-g"
;;
esac
fi
MOZ_ARG_ENABLE_STRING(debug,
[ --enable-debug[=DBG] Enable building with developer debug info
(Using compiler flags DBG)],
[ if test "$enableval" != "no"; then
MOZ_DEBUG=1
if test -n "$enableval" -a "$enableval" != "yes"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
MOZ_DEBUG_FLAGS=`echo $enableval | sed -e 's|\\\ | |g'`
_MOZ_DEBUG_FLAGS_SET=1
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
else
MOZ_DEBUG=
fi ],
MOZ_DEBUG=)
MOZ_DEBUG_ENABLE_DEFS="-DDEBUG -D_DEBUG -DTRACING"
MOZ_ARG_WITH_STRING(debug-label,
[ --with-debug-label=LABELS
Enabled the use of DEBUG_label ifdefs
(comma separated)],
[ for option in `echo $withval | sed 's/,/ /g'`; do
MOZ_DEBUG_ENABLE_DEFS="$MOZ_DEBUG_ENABLE_DEFS -DDEBUG_${option}"
done])
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
MOZ_DEBUG_DISABLE_DEFS="-DNDEBUG -DTRIMMED"
if test -n "$MOZ_DEBUG"; then
AC_MSG_CHECKING([for valid debug flags])
_SAVE_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS $MOZ_DEBUG_FLAGS"
AC_TRY_COMPILE([#include <stdio.h>],
[printf("Hello World\n");],
_results=yes,
_results=no)
AC_MSG_RESULT([$_results])
if test "$_results" = "no"; then
AC_MSG_ERROR([These compiler flags are invalid: $MOZ_DEBUG_FLAGS])
fi
CFLAGS=$_SAVE_CFLAGS
fi
dnl ========================================================
dnl = Enable code optimization. ON by default.
dnl ========================================================
if test -z "$MOZ_OPTIMIZE_FLAGS"; then
MOZ_OPTIMIZE_FLAGS="-O"
fi
MOZ_ARG_ENABLE_STRING(optimize,
[ --disable-optimize Disable compiler optimization
--enable-optimize=[OPT] Specify compiler optimization flags [OPT=-O]],
[ if test "$enableval" != "no"; then
MOZ_OPTIMIZE=1
2010-07-19 22:43:54 -07:00
if test -n "$enableval" -a "$enableval" != "yes"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
MOZ_OPTIMIZE_FLAGS=`echo "$enableval" | sed -e 's|\\\ | |g'`
MOZ_OPTIMIZE=2
fi
else
MOZ_OPTIMIZE=
fi ], MOZ_OPTIMIZE=1)
if test "$COMPILE_ENVIRONMENT"; then
if test -n "$MOZ_OPTIMIZE"; then
AC_MSG_CHECKING([for valid optimization flags])
_SAVE_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS $MOZ_OPTIMIZE_FLAGS"
AC_TRY_COMPILE([#include <stdio.h>],
[printf("Hello World\n");],
_results=yes,
_results=no)
AC_MSG_RESULT([$_results])
if test "$_results" = "no"; then
AC_MSG_ERROR([These compiler flags are invalid: $MOZ_OPTIMIZE_FLAGS])
fi
CFLAGS=$_SAVE_CFLAGS
fi
fi # COMPILE_ENVIRONMENT
AC_SUBST(MOZ_OPTIMIZE)
AC_SUBST(MOZ_OPTIMIZE_FLAGS)
AC_SUBST(MOZ_OPTIMIZE_LDFLAGS)
AC_SUBST(MOZ_OPTIMIZE_SIZE_TWEAK)
dnl ========================================================
dnl = (Deprecated) generation of debugger info for specific modules
dnl ========================================================
MOZ_ARG_ENABLE_STRING(debugger-info-modules,
[ --enable-debugger-info-modules
Enable/disable debugger info for specific modules],
[ if test "$enableval" != "no"; then
AC_MSG_WARN([--enable-debugger-info-modules is deprecated, use --enable-debug-symbols instead])
MOZ_DEBUG_SYMBOLS=1
fi ])
dnl ========================================================
dnl = Enable generation of debug symbols
dnl ========================================================
MOZ_ARG_ENABLE_STRING(debug-symbols,
[ --enable-debug-symbols[=DBG]
Enable debugging symbols (using compiler flags DBG)],
[ if test "$enableval" != "no"; then
MOZ_DEBUG_SYMBOLS=1
if test -n "$enableval" -a "$enableval" != "yes"; then
if test -z "$_MOZ_DEBUG_FLAGS_SET"; then
MOZ_DEBUG_FLAGS=`echo $enableval | sed -e 's|\\\ | |g'`
else
AC_MSG_ERROR([--enable-debug-symbols flags cannot be used with --enable-debug flags])
fi
fi
fi ])
if test -n "$MOZ_DEBUG" -o -n "$MOZ_DEBUG_SYMBOLS"; then
AC_DEFINE(MOZ_DEBUG_SYMBOLS)
export MOZ_DEBUG_SYMBOLS
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl ========================================================
dnl = Enable trace malloc
dnl ========================================================
NS_TRACE_MALLOC=${MOZ_TRACE_MALLOC}
MOZ_ARG_ENABLE_BOOL(trace-malloc,
[ --enable-trace-malloc Enable malloc tracing],
NS_TRACE_MALLOC=1,
NS_TRACE_MALLOC= )
if test "$NS_TRACE_MALLOC"; then
# Please, Mr. Linker Man, don't take away our symbol names
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS=
AC_DEFINE(NS_TRACE_MALLOC)
fi
AC_SUBST(NS_TRACE_MALLOC)
dnl ========================================================
dnl = Enable jemalloc
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(jemalloc,
[ --enable-jemalloc Replace memory allocator with jemalloc],
MOZ_MEMORY=1,
MOZ_MEMORY=)
if test "$NS_TRACE_MALLOC"; then
MOZ_MEMORY=
fi
if test "$MOZ_MEMORY"; then
dnl Don't try to run compiler tests on Windows
if test "$OS_ARCH" = "WINNT"; then
if test -z "$HAVE_64BIT_OS"; then
AC_DEFINE_UNQUOTED([MOZ_MEMORY_SIZEOF_PTR_2POW], 2)
else
AC_DEFINE_UNQUOTED([MOZ_MEMORY_SIZEOF_PTR_2POW], 3)
fi
else
AC_CHECK_SIZEOF([int *], [4])
case "${ac_cv_sizeof_int_p}" in
4)
AC_DEFINE_UNQUOTED([MOZ_MEMORY_SIZEOF_PTR_2POW], 2)
;;
8)
AC_DEFINE_UNQUOTED([MOZ_MEMORY_SIZEOF_PTR_2POW], 3)
;;
*)
AC_MSG_ERROR([Unexpected pointer size])
;;
esac
fi
AC_DEFINE(MOZ_MEMORY)
if test "x$MOZ_DEBUG" = "x1"; then
AC_DEFINE(MOZ_MEMORY_DEBUG)
fi
dnl The generic feature tests that determine how to compute ncpus are long and
dnl complicated. Therefore, simply define special cpp variables for the
dnl platforms we have special knowledge of.
case "${target}" in
*-darwin*)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_DEFINE(MOZ_MEMORY_DARWIN)
;;
*-*freebsd*)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_DEFINE(MOZ_MEMORY_BSD)
;;
*-*linux*)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_DEFINE(MOZ_MEMORY_LINUX)
;;
*-netbsd*)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_DEFINE(MOZ_MEMORY_BSD)
;;
*-solaris*)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_DEFINE(MOZ_MEMORY_SOLARIS)
;;
*-msvc*|*-mks*|*-cygwin*|*-mingw*)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_DEFINE(MOZ_MEMORY_WINDOWS)
# the interesting bits will get passed down in MOZ_MEMORY_LDFLAGS
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
;;
*-*wince|*-*winmo)
AC_DEFINE(MOZ_MEMORY_WINCE)
AC_DEFINE(MOZ_MEMORY_WINDOWS)
;;
*-android*)
AC_DEFINE(MOZ_MEMORY_LINUX)
AC_DEFINE(MOZ_MEMORY_ANDROID)
;;
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
*)
AC_MSG_ERROR([--enable-jemalloc not supported on ${target}])
;;
esac
fi
AC_SUBST(MOZ_MEMORY)
AC_SUBST(MOZ_MEMORY_LDFLAGS)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl ========================================================
dnl = Use malloc wrapper lib
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(wrap-malloc,
[ --enable-wrap-malloc Wrap malloc calls (gnu linker only)],
_WRAP_MALLOC=1,
_WRAP_MALLOC= )
if test -n "$_WRAP_MALLOC"; then
if test "$GNU_CC"; then
WRAP_MALLOC_CFLAGS="${LDFLAGS} -Wl,--wrap -Wl,malloc -Wl,--wrap -Wl,calloc -Wl,--wrap -Wl,valloc -Wl,--wrap -Wl,free -Wl,--wrap -Wl,realloc -Wl,--wrap -Wl,memalign -Wl,--wrap -Wl,__builtin_new -Wl,--wrap -Wl,__builtin_vec_new -Wl,--wrap -Wl,__builtin_delete -Wl,--wrap -Wl,__builtin_vec_delete -Wl,--wrap -Wl,PR_Free -Wl,--wrap -Wl,PR_Malloc -Wl,--wrap -Wl,PR_Calloc -Wl,--wrap -Wl,PR_Realloc -Wl,--wrap -Wl,strdup -Wl,--wrap -Wl,strndup -Wl,--wrap -Wl,posix_memalign"
MKSHLIB='$(CXX) $(DSO_LDOPTS) $(WRAP_MALLOC_CFLAGS) $(WRAP_MALLOC_LIB) -o $@'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
fi
dnl ========================================================
dnl = Location of malloc wrapper lib
dnl ========================================================
MOZ_ARG_WITH_STRING(wrap-malloc,
[ --with-wrap-malloc=DIR Location of malloc wrapper library],
WRAP_MALLOC_LIB=$withval)
Bug 538324 - Move ctypes into js/src. Part 1: Move ctypes into js/src/ctypes. r=sayrer --HG-- rename : js/ctypes/CTypes.cpp => js/src/ctypes/CTypes.cpp rename : js/ctypes/CTypes.h => js/src/ctypes/CTypes.h rename : js/ctypes/Library.cpp => js/src/ctypes/Library.cpp rename : js/ctypes/Library.h => js/src/ctypes/Library.h rename : js/ctypes/ctypes.msg => js/src/ctypes/ctypes.msg rename : js/ctypes/libffi.patch => js/src/ctypes/libffi.patch rename : js/ctypes/libffi/ChangeLog => js/src/ctypes/libffi/ChangeLog rename : js/ctypes/libffi/ChangeLog.libffi => js/src/ctypes/libffi/ChangeLog.libffi rename : js/ctypes/libffi/ChangeLog.libgcj => js/src/ctypes/libffi/ChangeLog.libgcj rename : js/ctypes/libffi/ChangeLog.v1 => js/src/ctypes/libffi/ChangeLog.v1 rename : js/ctypes/libffi/LICENSE => js/src/ctypes/libffi/LICENSE rename : js/ctypes/libffi/Makefile.am => js/src/ctypes/libffi/Makefile.am rename : js/ctypes/libffi/Makefile.in => js/src/ctypes/libffi/Makefile.in rename : js/ctypes/libffi/README => js/src/ctypes/libffi/README rename : js/ctypes/libffi/acinclude.m4 => js/src/ctypes/libffi/acinclude.m4 rename : js/ctypes/libffi/aclocal.m4 => js/src/ctypes/libffi/aclocal.m4 rename : js/ctypes/libffi/compile => js/src/ctypes/libffi/compile rename : js/ctypes/libffi/config.guess => js/src/ctypes/libffi/config.guess rename : js/ctypes/libffi/config.sub => js/src/ctypes/libffi/config.sub rename : js/ctypes/libffi/configure => js/src/ctypes/libffi/configure rename : js/ctypes/libffi/configure.ac => js/src/ctypes/libffi/configure.ac rename : js/ctypes/libffi/configure.host => js/src/ctypes/libffi/configure.host rename : js/ctypes/libffi/depcomp => js/src/ctypes/libffi/depcomp rename : js/ctypes/libffi/doc/libffi.info => js/src/ctypes/libffi/doc/libffi.info rename : js/ctypes/libffi/doc/libffi.texi => js/src/ctypes/libffi/doc/libffi.texi rename : js/ctypes/libffi/doc/stamp-vti => js/src/ctypes/libffi/doc/stamp-vti rename : js/ctypes/libffi/doc/version.texi => js/src/ctypes/libffi/doc/version.texi rename : js/ctypes/libffi/fficonfig.h.in => js/src/ctypes/libffi/fficonfig.h.in rename : js/ctypes/libffi/include/Makefile.am => js/src/ctypes/libffi/include/Makefile.am rename : js/ctypes/libffi/include/Makefile.in => js/src/ctypes/libffi/include/Makefile.in rename : js/ctypes/libffi/include/ffi.h.in => js/src/ctypes/libffi/include/ffi.h.in rename : js/ctypes/libffi/include/ffi_common.h => js/src/ctypes/libffi/include/ffi_common.h rename : js/ctypes/libffi/install-sh => js/src/ctypes/libffi/install-sh rename : js/ctypes/libffi/libffi.pc.in => js/src/ctypes/libffi/libffi.pc.in rename : js/ctypes/libffi/libtool-version => js/src/ctypes/libffi/libtool-version rename : js/ctypes/libffi/ltmain.sh => js/src/ctypes/libffi/ltmain.sh rename : js/ctypes/libffi/m4/libtool.m4 => js/src/ctypes/libffi/m4/libtool.m4 rename : js/ctypes/libffi/m4/ltoptions.m4 => js/src/ctypes/libffi/m4/ltoptions.m4 rename : js/ctypes/libffi/m4/ltsugar.m4 => js/src/ctypes/libffi/m4/ltsugar.m4 rename : js/ctypes/libffi/m4/ltversion.m4 => js/src/ctypes/libffi/m4/ltversion.m4 rename : js/ctypes/libffi/m4/lt~obsolete.m4 => js/src/ctypes/libffi/m4/lt~obsolete.m4 rename : js/ctypes/libffi/man/Makefile.am => js/src/ctypes/libffi/man/Makefile.am rename : js/ctypes/libffi/man/Makefile.in => js/src/ctypes/libffi/man/Makefile.in rename : js/ctypes/libffi/man/ffi.3 => js/src/ctypes/libffi/man/ffi.3 rename : js/ctypes/libffi/man/ffi_call.3 => js/src/ctypes/libffi/man/ffi_call.3 rename : js/ctypes/libffi/man/ffi_prep_cif.3 => js/src/ctypes/libffi/man/ffi_prep_cif.3 rename : js/ctypes/libffi/mdate-sh => js/src/ctypes/libffi/mdate-sh rename : js/ctypes/libffi/missing => js/src/ctypes/libffi/missing rename : js/ctypes/libffi/msvcc.sh => js/src/ctypes/libffi/msvcc.sh rename : js/ctypes/libffi/src/alpha/ffi.c => js/src/ctypes/libffi/src/alpha/ffi.c rename : js/ctypes/libffi/src/alpha/ffitarget.h => js/src/ctypes/libffi/src/alpha/ffitarget.h rename : js/ctypes/libffi/src/alpha/osf.S => js/src/ctypes/libffi/src/alpha/osf.S rename : js/ctypes/libffi/src/arm/ffi.c => js/src/ctypes/libffi/src/arm/ffi.c rename : js/ctypes/libffi/src/arm/ffitarget.h => js/src/ctypes/libffi/src/arm/ffitarget.h rename : js/ctypes/libffi/src/arm/sysv.S => js/src/ctypes/libffi/src/arm/sysv.S rename : js/ctypes/libffi/src/avr32/ffi.c => js/src/ctypes/libffi/src/avr32/ffi.c rename : js/ctypes/libffi/src/avr32/ffitarget.h => js/src/ctypes/libffi/src/avr32/ffitarget.h rename : js/ctypes/libffi/src/avr32/sysv.S => js/src/ctypes/libffi/src/avr32/sysv.S rename : js/ctypes/libffi/src/closures.c => js/src/ctypes/libffi/src/closures.c rename : js/ctypes/libffi/src/cris/ffi.c => js/src/ctypes/libffi/src/cris/ffi.c rename : js/ctypes/libffi/src/cris/ffitarget.h => js/src/ctypes/libffi/src/cris/ffitarget.h rename : js/ctypes/libffi/src/cris/sysv.S => js/src/ctypes/libffi/src/cris/sysv.S rename : js/ctypes/libffi/src/debug.c => js/src/ctypes/libffi/src/debug.c rename : js/ctypes/libffi/src/dlmalloc.c => js/src/ctypes/libffi/src/dlmalloc.c rename : js/ctypes/libffi/src/frv/eabi.S => js/src/ctypes/libffi/src/frv/eabi.S rename : js/ctypes/libffi/src/frv/ffi.c => js/src/ctypes/libffi/src/frv/ffi.c rename : js/ctypes/libffi/src/frv/ffitarget.h => js/src/ctypes/libffi/src/frv/ffitarget.h rename : js/ctypes/libffi/src/ia64/ffi.c => js/src/ctypes/libffi/src/ia64/ffi.c rename : js/ctypes/libffi/src/ia64/ffitarget.h => js/src/ctypes/libffi/src/ia64/ffitarget.h rename : js/ctypes/libffi/src/ia64/ia64_flags.h => js/src/ctypes/libffi/src/ia64/ia64_flags.h rename : js/ctypes/libffi/src/ia64/unix.S => js/src/ctypes/libffi/src/ia64/unix.S rename : js/ctypes/libffi/src/java_raw_api.c => js/src/ctypes/libffi/src/java_raw_api.c rename : js/ctypes/libffi/src/m32r/ffi.c => js/src/ctypes/libffi/src/m32r/ffi.c rename : js/ctypes/libffi/src/m32r/ffitarget.h => js/src/ctypes/libffi/src/m32r/ffitarget.h rename : js/ctypes/libffi/src/m32r/sysv.S => js/src/ctypes/libffi/src/m32r/sysv.S rename : js/ctypes/libffi/src/m68k/ffi.c => js/src/ctypes/libffi/src/m68k/ffi.c rename : js/ctypes/libffi/src/m68k/ffitarget.h => js/src/ctypes/libffi/src/m68k/ffitarget.h rename : js/ctypes/libffi/src/m68k/sysv.S => js/src/ctypes/libffi/src/m68k/sysv.S rename : js/ctypes/libffi/src/mips/ffi.c => js/src/ctypes/libffi/src/mips/ffi.c rename : js/ctypes/libffi/src/mips/ffitarget.h => js/src/ctypes/libffi/src/mips/ffitarget.h rename : js/ctypes/libffi/src/mips/n32.S => js/src/ctypes/libffi/src/mips/n32.S rename : js/ctypes/libffi/src/mips/o32.S => js/src/ctypes/libffi/src/mips/o32.S rename : js/ctypes/libffi/src/moxie/eabi.S => js/src/ctypes/libffi/src/moxie/eabi.S rename : js/ctypes/libffi/src/moxie/ffi.c => js/src/ctypes/libffi/src/moxie/ffi.c rename : js/ctypes/libffi/src/moxie/ffitarget.h => js/src/ctypes/libffi/src/moxie/ffitarget.h rename : js/ctypes/libffi/src/pa/ffi.c => js/src/ctypes/libffi/src/pa/ffi.c rename : js/ctypes/libffi/src/pa/ffitarget.h => js/src/ctypes/libffi/src/pa/ffitarget.h rename : js/ctypes/libffi/src/pa/hpux32.S => js/src/ctypes/libffi/src/pa/hpux32.S rename : js/ctypes/libffi/src/pa/linux.S => js/src/ctypes/libffi/src/pa/linux.S rename : js/ctypes/libffi/src/powerpc/aix.S => js/src/ctypes/libffi/src/powerpc/aix.S rename : js/ctypes/libffi/src/powerpc/aix_closure.S => js/src/ctypes/libffi/src/powerpc/aix_closure.S rename : js/ctypes/libffi/src/powerpc/asm.h => js/src/ctypes/libffi/src/powerpc/asm.h rename : js/ctypes/libffi/src/powerpc/darwin.S => js/src/ctypes/libffi/src/powerpc/darwin.S rename : js/ctypes/libffi/src/powerpc/darwin_closure.S => js/src/ctypes/libffi/src/powerpc/darwin_closure.S rename : js/ctypes/libffi/src/powerpc/ffi.c => js/src/ctypes/libffi/src/powerpc/ffi.c rename : js/ctypes/libffi/src/powerpc/ffi_darwin.c => js/src/ctypes/libffi/src/powerpc/ffi_darwin.c rename : js/ctypes/libffi/src/powerpc/ffitarget.h => js/src/ctypes/libffi/src/powerpc/ffitarget.h rename : js/ctypes/libffi/src/powerpc/linux64.S => js/src/ctypes/libffi/src/powerpc/linux64.S rename : js/ctypes/libffi/src/powerpc/linux64_closure.S => js/src/ctypes/libffi/src/powerpc/linux64_closure.S rename : js/ctypes/libffi/src/powerpc/ppc_closure.S => js/src/ctypes/libffi/src/powerpc/ppc_closure.S rename : js/ctypes/libffi/src/powerpc/sysv.S => js/src/ctypes/libffi/src/powerpc/sysv.S rename : js/ctypes/libffi/src/prep_cif.c => js/src/ctypes/libffi/src/prep_cif.c rename : js/ctypes/libffi/src/raw_api.c => js/src/ctypes/libffi/src/raw_api.c rename : js/ctypes/libffi/src/s390/ffi.c => js/src/ctypes/libffi/src/s390/ffi.c rename : js/ctypes/libffi/src/s390/ffitarget.h => js/src/ctypes/libffi/src/s390/ffitarget.h rename : js/ctypes/libffi/src/s390/sysv.S => js/src/ctypes/libffi/src/s390/sysv.S rename : js/ctypes/libffi/src/sh/ffi.c => js/src/ctypes/libffi/src/sh/ffi.c rename : js/ctypes/libffi/src/sh/ffitarget.h => js/src/ctypes/libffi/src/sh/ffitarget.h rename : js/ctypes/libffi/src/sh/sysv.S => js/src/ctypes/libffi/src/sh/sysv.S rename : js/ctypes/libffi/src/sh64/ffi.c => js/src/ctypes/libffi/src/sh64/ffi.c rename : js/ctypes/libffi/src/sh64/ffitarget.h => js/src/ctypes/libffi/src/sh64/ffitarget.h rename : js/ctypes/libffi/src/sh64/sysv.S => js/src/ctypes/libffi/src/sh64/sysv.S rename : js/ctypes/libffi/src/sparc/ffi.c => js/src/ctypes/libffi/src/sparc/ffi.c rename : js/ctypes/libffi/src/sparc/ffitarget.h => js/src/ctypes/libffi/src/sparc/ffitarget.h rename : js/ctypes/libffi/src/sparc/v8.S => js/src/ctypes/libffi/src/sparc/v8.S rename : js/ctypes/libffi/src/sparc/v9.S => js/src/ctypes/libffi/src/sparc/v9.S rename : js/ctypes/libffi/src/types.c => js/src/ctypes/libffi/src/types.c rename : js/ctypes/libffi/src/x86/darwin.S => js/src/ctypes/libffi/src/x86/darwin.S rename : js/ctypes/libffi/src/x86/darwin64.S => js/src/ctypes/libffi/src/x86/darwin64.S rename : js/ctypes/libffi/src/x86/ffi.c => js/src/ctypes/libffi/src/x86/ffi.c rename : js/ctypes/libffi/src/x86/ffi64.c => js/src/ctypes/libffi/src/x86/ffi64.c rename : js/ctypes/libffi/src/x86/ffitarget.h => js/src/ctypes/libffi/src/x86/ffitarget.h rename : js/ctypes/libffi/src/x86/freebsd.S => js/src/ctypes/libffi/src/x86/freebsd.S rename : js/ctypes/libffi/src/x86/sysv.S => js/src/ctypes/libffi/src/x86/sysv.S rename : js/ctypes/libffi/src/x86/unix64.S => js/src/ctypes/libffi/src/x86/unix64.S rename : js/ctypes/libffi/src/x86/win32.S => js/src/ctypes/libffi/src/x86/win32.S rename : js/ctypes/libffi/src/x86/win64.S => js/src/ctypes/libffi/src/x86/win64.S rename : js/ctypes/libffi/testsuite/Makefile.am => js/src/ctypes/libffi/testsuite/Makefile.am rename : js/ctypes/libffi/testsuite/Makefile.in => js/src/ctypes/libffi/testsuite/Makefile.in rename : js/ctypes/libffi/testsuite/config/default.exp => js/src/ctypes/libffi/testsuite/config/default.exp rename : js/ctypes/libffi/testsuite/lib/libffi-dg.exp => js/src/ctypes/libffi/testsuite/lib/libffi-dg.exp rename : js/ctypes/libffi/testsuite/lib/target-libpath.exp => js/src/ctypes/libffi/testsuite/lib/target-libpath.exp rename : js/ctypes/libffi/testsuite/lib/wrapper.exp => js/src/ctypes/libffi/testsuite/lib/wrapper.exp rename : js/ctypes/libffi/testsuite/libffi.call/call.exp => js/src/ctypes/libffi/testsuite/libffi.call/call.exp rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn1.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn1.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn2.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn2.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn3.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn3.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn4.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn4.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn5.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn5.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn6.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn6.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_12byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_12byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_16byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_16byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_18byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_18byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_19byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_19byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_24byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_24byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_2byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_2byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_64byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_64byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_8byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_8byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c rename : js/ctypes/libffi/testsuite/libffi.call/ffitest.h => js/src/ctypes/libffi/testsuite/libffi.call/ffitest.h rename : js/ctypes/libffi/testsuite/libffi.call/float.c => js/src/ctypes/libffi/testsuite/libffi.call/float.c rename : js/ctypes/libffi/testsuite/libffi.call/float1.c => js/src/ctypes/libffi/testsuite/libffi.call/float1.c rename : js/ctypes/libffi/testsuite/libffi.call/float2.c => js/src/ctypes/libffi/testsuite/libffi.call/float2.c rename : js/ctypes/libffi/testsuite/libffi.call/float3.c => js/src/ctypes/libffi/testsuite/libffi.call/float3.c rename : js/ctypes/libffi/testsuite/libffi.call/float4.c => js/src/ctypes/libffi/testsuite/libffi.call/float4.c rename : js/ctypes/libffi/testsuite/libffi.call/huge_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/huge_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/many.c => js/src/ctypes/libffi/testsuite/libffi.call/many.c rename : js/ctypes/libffi/testsuite/libffi.call/many_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/many_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/negint.c => js/src/ctypes/libffi/testsuite/libffi.call/negint.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct10.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct10.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/problem1.c => js/src/ctypes/libffi/testsuite/libffi.call/problem1.c rename : js/ctypes/libffi/testsuite/libffi.call/promotion.c => js/src/ctypes/libffi/testsuite/libffi.call/promotion.c rename : js/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c => js/src/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl3.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl3.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ldl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ldl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_uc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_uc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ul.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ul.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large2.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium2.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/testclosure.c => js/src/ctypes/libffi/testsuite/libffi.call/testclosure.c rename : js/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h => js/src/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h rename : js/ctypes/libffi/testsuite/libffi.special/special.exp => js/src/ctypes/libffi/testsuite/libffi.special/special.exp rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest.cc rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc rename : js/ctypes/libffi/texinfo.tex => js/src/ctypes/libffi/texinfo.tex rename : js/ctypes/typedefs.h => js/src/ctypes/typedefs.h
2010-04-02 12:02:17 -07:00
dnl ========================================================
dnl = Build jsctypes if it's enabled
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(ctypes,
[ --enable-ctypes Enable js-ctypes (default=no)],
JS_HAS_CTYPES=1,
JS_HAS_CTYPES= )
AC_SUBST(JS_HAS_CTYPES)
if test "$JS_HAS_CTYPES"; then
2010-07-19 22:43:54 -07:00
if test "$_MSC_VER" -a -z $AS; then
Bug 538324 - Move ctypes into js/src. Part 1: Move ctypes into js/src/ctypes. r=sayrer --HG-- rename : js/ctypes/CTypes.cpp => js/src/ctypes/CTypes.cpp rename : js/ctypes/CTypes.h => js/src/ctypes/CTypes.h rename : js/ctypes/Library.cpp => js/src/ctypes/Library.cpp rename : js/ctypes/Library.h => js/src/ctypes/Library.h rename : js/ctypes/ctypes.msg => js/src/ctypes/ctypes.msg rename : js/ctypes/libffi.patch => js/src/ctypes/libffi.patch rename : js/ctypes/libffi/ChangeLog => js/src/ctypes/libffi/ChangeLog rename : js/ctypes/libffi/ChangeLog.libffi => js/src/ctypes/libffi/ChangeLog.libffi rename : js/ctypes/libffi/ChangeLog.libgcj => js/src/ctypes/libffi/ChangeLog.libgcj rename : js/ctypes/libffi/ChangeLog.v1 => js/src/ctypes/libffi/ChangeLog.v1 rename : js/ctypes/libffi/LICENSE => js/src/ctypes/libffi/LICENSE rename : js/ctypes/libffi/Makefile.am => js/src/ctypes/libffi/Makefile.am rename : js/ctypes/libffi/Makefile.in => js/src/ctypes/libffi/Makefile.in rename : js/ctypes/libffi/README => js/src/ctypes/libffi/README rename : js/ctypes/libffi/acinclude.m4 => js/src/ctypes/libffi/acinclude.m4 rename : js/ctypes/libffi/aclocal.m4 => js/src/ctypes/libffi/aclocal.m4 rename : js/ctypes/libffi/compile => js/src/ctypes/libffi/compile rename : js/ctypes/libffi/config.guess => js/src/ctypes/libffi/config.guess rename : js/ctypes/libffi/config.sub => js/src/ctypes/libffi/config.sub rename : js/ctypes/libffi/configure => js/src/ctypes/libffi/configure rename : js/ctypes/libffi/configure.ac => js/src/ctypes/libffi/configure.ac rename : js/ctypes/libffi/configure.host => js/src/ctypes/libffi/configure.host rename : js/ctypes/libffi/depcomp => js/src/ctypes/libffi/depcomp rename : js/ctypes/libffi/doc/libffi.info => js/src/ctypes/libffi/doc/libffi.info rename : js/ctypes/libffi/doc/libffi.texi => js/src/ctypes/libffi/doc/libffi.texi rename : js/ctypes/libffi/doc/stamp-vti => js/src/ctypes/libffi/doc/stamp-vti rename : js/ctypes/libffi/doc/version.texi => js/src/ctypes/libffi/doc/version.texi rename : js/ctypes/libffi/fficonfig.h.in => js/src/ctypes/libffi/fficonfig.h.in rename : js/ctypes/libffi/include/Makefile.am => js/src/ctypes/libffi/include/Makefile.am rename : js/ctypes/libffi/include/Makefile.in => js/src/ctypes/libffi/include/Makefile.in rename : js/ctypes/libffi/include/ffi.h.in => js/src/ctypes/libffi/include/ffi.h.in rename : js/ctypes/libffi/include/ffi_common.h => js/src/ctypes/libffi/include/ffi_common.h rename : js/ctypes/libffi/install-sh => js/src/ctypes/libffi/install-sh rename : js/ctypes/libffi/libffi.pc.in => js/src/ctypes/libffi/libffi.pc.in rename : js/ctypes/libffi/libtool-version => js/src/ctypes/libffi/libtool-version rename : js/ctypes/libffi/ltmain.sh => js/src/ctypes/libffi/ltmain.sh rename : js/ctypes/libffi/m4/libtool.m4 => js/src/ctypes/libffi/m4/libtool.m4 rename : js/ctypes/libffi/m4/ltoptions.m4 => js/src/ctypes/libffi/m4/ltoptions.m4 rename : js/ctypes/libffi/m4/ltsugar.m4 => js/src/ctypes/libffi/m4/ltsugar.m4 rename : js/ctypes/libffi/m4/ltversion.m4 => js/src/ctypes/libffi/m4/ltversion.m4 rename : js/ctypes/libffi/m4/lt~obsolete.m4 => js/src/ctypes/libffi/m4/lt~obsolete.m4 rename : js/ctypes/libffi/man/Makefile.am => js/src/ctypes/libffi/man/Makefile.am rename : js/ctypes/libffi/man/Makefile.in => js/src/ctypes/libffi/man/Makefile.in rename : js/ctypes/libffi/man/ffi.3 => js/src/ctypes/libffi/man/ffi.3 rename : js/ctypes/libffi/man/ffi_call.3 => js/src/ctypes/libffi/man/ffi_call.3 rename : js/ctypes/libffi/man/ffi_prep_cif.3 => js/src/ctypes/libffi/man/ffi_prep_cif.3 rename : js/ctypes/libffi/mdate-sh => js/src/ctypes/libffi/mdate-sh rename : js/ctypes/libffi/missing => js/src/ctypes/libffi/missing rename : js/ctypes/libffi/msvcc.sh => js/src/ctypes/libffi/msvcc.sh rename : js/ctypes/libffi/src/alpha/ffi.c => js/src/ctypes/libffi/src/alpha/ffi.c rename : js/ctypes/libffi/src/alpha/ffitarget.h => js/src/ctypes/libffi/src/alpha/ffitarget.h rename : js/ctypes/libffi/src/alpha/osf.S => js/src/ctypes/libffi/src/alpha/osf.S rename : js/ctypes/libffi/src/arm/ffi.c => js/src/ctypes/libffi/src/arm/ffi.c rename : js/ctypes/libffi/src/arm/ffitarget.h => js/src/ctypes/libffi/src/arm/ffitarget.h rename : js/ctypes/libffi/src/arm/sysv.S => js/src/ctypes/libffi/src/arm/sysv.S rename : js/ctypes/libffi/src/avr32/ffi.c => js/src/ctypes/libffi/src/avr32/ffi.c rename : js/ctypes/libffi/src/avr32/ffitarget.h => js/src/ctypes/libffi/src/avr32/ffitarget.h rename : js/ctypes/libffi/src/avr32/sysv.S => js/src/ctypes/libffi/src/avr32/sysv.S rename : js/ctypes/libffi/src/closures.c => js/src/ctypes/libffi/src/closures.c rename : js/ctypes/libffi/src/cris/ffi.c => js/src/ctypes/libffi/src/cris/ffi.c rename : js/ctypes/libffi/src/cris/ffitarget.h => js/src/ctypes/libffi/src/cris/ffitarget.h rename : js/ctypes/libffi/src/cris/sysv.S => js/src/ctypes/libffi/src/cris/sysv.S rename : js/ctypes/libffi/src/debug.c => js/src/ctypes/libffi/src/debug.c rename : js/ctypes/libffi/src/dlmalloc.c => js/src/ctypes/libffi/src/dlmalloc.c rename : js/ctypes/libffi/src/frv/eabi.S => js/src/ctypes/libffi/src/frv/eabi.S rename : js/ctypes/libffi/src/frv/ffi.c => js/src/ctypes/libffi/src/frv/ffi.c rename : js/ctypes/libffi/src/frv/ffitarget.h => js/src/ctypes/libffi/src/frv/ffitarget.h rename : js/ctypes/libffi/src/ia64/ffi.c => js/src/ctypes/libffi/src/ia64/ffi.c rename : js/ctypes/libffi/src/ia64/ffitarget.h => js/src/ctypes/libffi/src/ia64/ffitarget.h rename : js/ctypes/libffi/src/ia64/ia64_flags.h => js/src/ctypes/libffi/src/ia64/ia64_flags.h rename : js/ctypes/libffi/src/ia64/unix.S => js/src/ctypes/libffi/src/ia64/unix.S rename : js/ctypes/libffi/src/java_raw_api.c => js/src/ctypes/libffi/src/java_raw_api.c rename : js/ctypes/libffi/src/m32r/ffi.c => js/src/ctypes/libffi/src/m32r/ffi.c rename : js/ctypes/libffi/src/m32r/ffitarget.h => js/src/ctypes/libffi/src/m32r/ffitarget.h rename : js/ctypes/libffi/src/m32r/sysv.S => js/src/ctypes/libffi/src/m32r/sysv.S rename : js/ctypes/libffi/src/m68k/ffi.c => js/src/ctypes/libffi/src/m68k/ffi.c rename : js/ctypes/libffi/src/m68k/ffitarget.h => js/src/ctypes/libffi/src/m68k/ffitarget.h rename : js/ctypes/libffi/src/m68k/sysv.S => js/src/ctypes/libffi/src/m68k/sysv.S rename : js/ctypes/libffi/src/mips/ffi.c => js/src/ctypes/libffi/src/mips/ffi.c rename : js/ctypes/libffi/src/mips/ffitarget.h => js/src/ctypes/libffi/src/mips/ffitarget.h rename : js/ctypes/libffi/src/mips/n32.S => js/src/ctypes/libffi/src/mips/n32.S rename : js/ctypes/libffi/src/mips/o32.S => js/src/ctypes/libffi/src/mips/o32.S rename : js/ctypes/libffi/src/moxie/eabi.S => js/src/ctypes/libffi/src/moxie/eabi.S rename : js/ctypes/libffi/src/moxie/ffi.c => js/src/ctypes/libffi/src/moxie/ffi.c rename : js/ctypes/libffi/src/moxie/ffitarget.h => js/src/ctypes/libffi/src/moxie/ffitarget.h rename : js/ctypes/libffi/src/pa/ffi.c => js/src/ctypes/libffi/src/pa/ffi.c rename : js/ctypes/libffi/src/pa/ffitarget.h => js/src/ctypes/libffi/src/pa/ffitarget.h rename : js/ctypes/libffi/src/pa/hpux32.S => js/src/ctypes/libffi/src/pa/hpux32.S rename : js/ctypes/libffi/src/pa/linux.S => js/src/ctypes/libffi/src/pa/linux.S rename : js/ctypes/libffi/src/powerpc/aix.S => js/src/ctypes/libffi/src/powerpc/aix.S rename : js/ctypes/libffi/src/powerpc/aix_closure.S => js/src/ctypes/libffi/src/powerpc/aix_closure.S rename : js/ctypes/libffi/src/powerpc/asm.h => js/src/ctypes/libffi/src/powerpc/asm.h rename : js/ctypes/libffi/src/powerpc/darwin.S => js/src/ctypes/libffi/src/powerpc/darwin.S rename : js/ctypes/libffi/src/powerpc/darwin_closure.S => js/src/ctypes/libffi/src/powerpc/darwin_closure.S rename : js/ctypes/libffi/src/powerpc/ffi.c => js/src/ctypes/libffi/src/powerpc/ffi.c rename : js/ctypes/libffi/src/powerpc/ffi_darwin.c => js/src/ctypes/libffi/src/powerpc/ffi_darwin.c rename : js/ctypes/libffi/src/powerpc/ffitarget.h => js/src/ctypes/libffi/src/powerpc/ffitarget.h rename : js/ctypes/libffi/src/powerpc/linux64.S => js/src/ctypes/libffi/src/powerpc/linux64.S rename : js/ctypes/libffi/src/powerpc/linux64_closure.S => js/src/ctypes/libffi/src/powerpc/linux64_closure.S rename : js/ctypes/libffi/src/powerpc/ppc_closure.S => js/src/ctypes/libffi/src/powerpc/ppc_closure.S rename : js/ctypes/libffi/src/powerpc/sysv.S => js/src/ctypes/libffi/src/powerpc/sysv.S rename : js/ctypes/libffi/src/prep_cif.c => js/src/ctypes/libffi/src/prep_cif.c rename : js/ctypes/libffi/src/raw_api.c => js/src/ctypes/libffi/src/raw_api.c rename : js/ctypes/libffi/src/s390/ffi.c => js/src/ctypes/libffi/src/s390/ffi.c rename : js/ctypes/libffi/src/s390/ffitarget.h => js/src/ctypes/libffi/src/s390/ffitarget.h rename : js/ctypes/libffi/src/s390/sysv.S => js/src/ctypes/libffi/src/s390/sysv.S rename : js/ctypes/libffi/src/sh/ffi.c => js/src/ctypes/libffi/src/sh/ffi.c rename : js/ctypes/libffi/src/sh/ffitarget.h => js/src/ctypes/libffi/src/sh/ffitarget.h rename : js/ctypes/libffi/src/sh/sysv.S => js/src/ctypes/libffi/src/sh/sysv.S rename : js/ctypes/libffi/src/sh64/ffi.c => js/src/ctypes/libffi/src/sh64/ffi.c rename : js/ctypes/libffi/src/sh64/ffitarget.h => js/src/ctypes/libffi/src/sh64/ffitarget.h rename : js/ctypes/libffi/src/sh64/sysv.S => js/src/ctypes/libffi/src/sh64/sysv.S rename : js/ctypes/libffi/src/sparc/ffi.c => js/src/ctypes/libffi/src/sparc/ffi.c rename : js/ctypes/libffi/src/sparc/ffitarget.h => js/src/ctypes/libffi/src/sparc/ffitarget.h rename : js/ctypes/libffi/src/sparc/v8.S => js/src/ctypes/libffi/src/sparc/v8.S rename : js/ctypes/libffi/src/sparc/v9.S => js/src/ctypes/libffi/src/sparc/v9.S rename : js/ctypes/libffi/src/types.c => js/src/ctypes/libffi/src/types.c rename : js/ctypes/libffi/src/x86/darwin.S => js/src/ctypes/libffi/src/x86/darwin.S rename : js/ctypes/libffi/src/x86/darwin64.S => js/src/ctypes/libffi/src/x86/darwin64.S rename : js/ctypes/libffi/src/x86/ffi.c => js/src/ctypes/libffi/src/x86/ffi.c rename : js/ctypes/libffi/src/x86/ffi64.c => js/src/ctypes/libffi/src/x86/ffi64.c rename : js/ctypes/libffi/src/x86/ffitarget.h => js/src/ctypes/libffi/src/x86/ffitarget.h rename : js/ctypes/libffi/src/x86/freebsd.S => js/src/ctypes/libffi/src/x86/freebsd.S rename : js/ctypes/libffi/src/x86/sysv.S => js/src/ctypes/libffi/src/x86/sysv.S rename : js/ctypes/libffi/src/x86/unix64.S => js/src/ctypes/libffi/src/x86/unix64.S rename : js/ctypes/libffi/src/x86/win32.S => js/src/ctypes/libffi/src/x86/win32.S rename : js/ctypes/libffi/src/x86/win64.S => js/src/ctypes/libffi/src/x86/win64.S rename : js/ctypes/libffi/testsuite/Makefile.am => js/src/ctypes/libffi/testsuite/Makefile.am rename : js/ctypes/libffi/testsuite/Makefile.in => js/src/ctypes/libffi/testsuite/Makefile.in rename : js/ctypes/libffi/testsuite/config/default.exp => js/src/ctypes/libffi/testsuite/config/default.exp rename : js/ctypes/libffi/testsuite/lib/libffi-dg.exp => js/src/ctypes/libffi/testsuite/lib/libffi-dg.exp rename : js/ctypes/libffi/testsuite/lib/target-libpath.exp => js/src/ctypes/libffi/testsuite/lib/target-libpath.exp rename : js/ctypes/libffi/testsuite/lib/wrapper.exp => js/src/ctypes/libffi/testsuite/lib/wrapper.exp rename : js/ctypes/libffi/testsuite/libffi.call/call.exp => js/src/ctypes/libffi/testsuite/libffi.call/call.exp rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn1.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn1.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn2.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn2.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn3.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn3.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn4.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn4.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn5.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn5.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn6.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn6.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_12byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_12byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_16byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_16byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_18byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_18byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_19byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_19byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_24byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_24byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_2byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_2byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_64byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_64byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_8byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_8byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c rename : js/ctypes/libffi/testsuite/libffi.call/ffitest.h => js/src/ctypes/libffi/testsuite/libffi.call/ffitest.h rename : js/ctypes/libffi/testsuite/libffi.call/float.c => js/src/ctypes/libffi/testsuite/libffi.call/float.c rename : js/ctypes/libffi/testsuite/libffi.call/float1.c => js/src/ctypes/libffi/testsuite/libffi.call/float1.c rename : js/ctypes/libffi/testsuite/libffi.call/float2.c => js/src/ctypes/libffi/testsuite/libffi.call/float2.c rename : js/ctypes/libffi/testsuite/libffi.call/float3.c => js/src/ctypes/libffi/testsuite/libffi.call/float3.c rename : js/ctypes/libffi/testsuite/libffi.call/float4.c => js/src/ctypes/libffi/testsuite/libffi.call/float4.c rename : js/ctypes/libffi/testsuite/libffi.call/huge_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/huge_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/many.c => js/src/ctypes/libffi/testsuite/libffi.call/many.c rename : js/ctypes/libffi/testsuite/libffi.call/many_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/many_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/negint.c => js/src/ctypes/libffi/testsuite/libffi.call/negint.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct10.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct10.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/problem1.c => js/src/ctypes/libffi/testsuite/libffi.call/problem1.c rename : js/ctypes/libffi/testsuite/libffi.call/promotion.c => js/src/ctypes/libffi/testsuite/libffi.call/promotion.c rename : js/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c => js/src/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl3.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl3.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ldl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ldl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_uc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_uc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ul.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ul.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large2.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium2.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/testclosure.c => js/src/ctypes/libffi/testsuite/libffi.call/testclosure.c rename : js/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h => js/src/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h rename : js/ctypes/libffi/testsuite/libffi.special/special.exp => js/src/ctypes/libffi/testsuite/libffi.special/special.exp rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest.cc rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc rename : js/ctypes/libffi/texinfo.tex => js/src/ctypes/libffi/texinfo.tex rename : js/ctypes/typedefs.h => js/src/ctypes/typedefs.h
2010-04-02 12:02:17 -07:00
# Error out if we're on MSVC and MASM is unavailable.
AC_MSG_ERROR([No suitable assembler found. An assembler is required to build js-ctypes. If you are building with MS Visual Studio 8 Express, you may download the MASM 8.0 package, upgrade to Visual Studio 9 Express, or install the Vista SDK.])
fi
AC_DEFINE(JS_HAS_CTYPES)
fi
dnl ========================================================
dnl = Use JS Call tracing
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(trace-jscalls,
[ --enable-trace-jscalls Enable JS call enter/exit callback (default=no)],
MOZ_TRACE_JSCALLS=1,
MOZ_TRACE_JSCALLS= )
if test -n "$MOZ_TRACE_JSCALLS"; then
AC_DEFINE(MOZ_TRACE_JSCALLS)
fi
dnl ========================================================
dnl = Use TraceVis
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(tracevis,
[ --enable-tracevis Enable TraceVis tracing tool (default=no)],
MOZ_TRACEVIS=1,
MOZ_TRACEVIS= )
if test -n "$MOZ_TRACEVIS"; then
AC_DEFINE(MOZ_TRACEVIS)
if test -z "$ENABLE_TRACEJIT"; then
AC_MSG_ERROR([--enable-tracevis is incompatible with --disable-tracejit])
fi
fi
dnl ========================================================
dnl = Use GCTimer
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(gctimer,
[ --enable-gctimer Enable GC timer (default=no)],
MOZ_GCTIMER=1,
MOZ_GCTIMER= )
if test -n "$MOZ_GCTIMER"; then
AC_DEFINE(MOZ_GCTIMER)
fi
dnl ========================================================
dnl = Use Valgrind
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(valgrind,
[ --enable-valgrind Enable Valgrind integration hooks (default=no)],
MOZ_VALGRIND=1,
MOZ_VALGRIND= )
if test -n "$MOZ_VALGRIND"; then
AC_CHECK_HEADER([valgrind/valgrind.h], [],
AC_MSG_ERROR(
[--enable-valgrind specified but Valgrind is not installed]))
AC_DEFINE(MOZ_VALGRIND)
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl ========================================================
dnl jprof
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(jprof,
[ --enable-jprof Enable jprof profiling tool (needs mozilla/tools/jprof). Implies --enable-profiling.],
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
MOZ_JPROF=1,
MOZ_JPROF= )
if test -n "$MOZ_JPROF"; then
MOZ_PROFILING=1
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_DEFINE(MOZ_JPROF)
fi
dnl ========================================================
dnl shark
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(shark,
[ --enable-shark Enable shark remote profiling (needs CHUD framework). Implies --enable-profiling.],
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
MOZ_SHARK=1,
MOZ_SHARK= )
if test -n "$MOZ_SHARK"; then
MOZ_PROFILING=1
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_DEFINE(MOZ_SHARK)
fi
dnl ========================================================
dnl callgrind
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(callgrind,
[ --enable-callgrind Enable callgrind profiling],
MOZ_CALLGRIND=1,
MOZ_CALLGRIND= )
if test -n "$MOZ_CALLGRIND"; then
AC_DEFINE(MOZ_CALLGRIND)
fi
dnl ========================================================
dnl vtune
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(vtune,
[ --enable-vtune Enable vtune profiling. Implies --enable-profiling.],
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
MOZ_VTUNE=1,
MOZ_VTUNE= )
if test -n "$MOZ_VTUNE"; then
MOZ_PROFILING=1
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_DEFINE(MOZ_VTUNE)
fi
dnl ========================================================
dnl Zealous GC
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(gczeal,
[ --enable-gczeal Enable zealous GCing],
JS_GC_ZEAL=1,
JS_GC_ZEAL= )
if test -n "$JS_GC_ZEAL"; then
AC_DEFINE(JS_GC_ZEAL)
fi
dnl ======================================================
dnl = Enable compiling with ccache
dnl ======================================================
MOZ_ARG_WITH_STRING(ccache,
[ --with-ccache[=path/to/ccache]
Enable compiling with ccache],
CCACHE=$withval, CCACHE="no")
if test "$CCACHE" != "no"; then
if test -n "$CCACHE"; then
if test "$CCACHE" = "yes"; then
CCACHE=
else
if test ! -e "$CCACHE"; then
AC_MSG_ERROR([$CCACHE not found])
fi
fi
fi
MOZ_PATH_PROGS(CCACHE, $CCACHE ccache)
if test -z "$CCACHE" -o "$CCACHE" = ":"; then
AC_MSG_ERROR([ccache not found])
elif test -x "$CCACHE"; then
CC="$CCACHE $CC"
CXX="$CCACHE $CXX"
else
AC_MSG_ERROR([$CCACHE is not executable])
fi
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl ========================================================
dnl = Enable static checking using gcc-dehydra
dnl ========================================================
MOZ_ARG_WITH_STRING(static-checking,
[ --with-static-checking=path/to/gcc_dehydra.so
Enable static checking of code using GCC-dehydra],
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
DEHYDRA_PATH=$withval,
DEHYDRA_PATH= )
if test -n "$DEHYDRA_PATH"; then
if test ! -f "$DEHYDRA_PATH"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_MSG_ERROR([The dehydra plugin is not at the specified path.])
fi
AC_DEFINE(NS_STATIC_CHECKING)
fi
AC_SUBST(DEHYDRA_PATH)
dnl ========================================================
dnl = Enable stripping of libs & executables
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(strip,
[ --enable-strip Enable stripping of libs & executables ],
ENABLE_STRIP=1,
ENABLE_STRIP= )
dnl ========================================================
dnl = Enable stripping of libs & executables when packaging
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(install-strip,
[ --enable-install-strip Enable stripping of libs & executables when packaging ],
PKG_SKIP_STRIP= ,
PKG_SKIP_STRIP=1)
dnl ========================================================
dnl =
dnl = Profiling and Instrumenting
dnl =
dnl ========================================================
MOZ_ARG_HEADER(Profiling and Instrumenting)
dnl ========================================================
dnl = Enable timeline service, which provides lightweight
dnl = instrumentation of mozilla for performance measurement.
dnl = Timeline is off by default.
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(timeline,
[ --enable-timeline Enable timeline services ],
MOZ_TIMELINE=1,
MOZ_TIMELINE= )
if test -n "$MOZ_TIMELINE"; then
AC_DEFINE(MOZ_TIMELINE)
fi
dnl ========================================================
dnl = Support for Quantify (Windows)
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(quantify,
[ --enable-quantify Enable Quantify support (Windows only) ],
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
MOZ_QUANTIFY=1,
MOZ_QUANTIFY= )
dnl ========================================================
dnl = Support for demangling undefined symbols
dnl ========================================================
if test -z "$SKIP_LIBRARY_CHECKS"; then
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_CHECK_FUNCS(__cxa_demangle, HAVE_DEMANGLE=1, HAVE_DEMANGLE=)
AC_LANG_RESTORE
fi
# Demangle only for debug or trace-malloc builds
MOZ_DEMANGLE_SYMBOLS=
if test "$HAVE_DEMANGLE" -a "$HAVE_GCC3_ABI" && test "$MOZ_DEBUG" -o "$NS_TRACE_MALLOC"; then
MOZ_DEMANGLE_SYMBOLS=1
AC_DEFINE(MOZ_DEMANGLE_SYMBOLS)
fi
AC_SUBST(MOZ_DEMANGLE_SYMBOLS)
dnl ========================================================
dnl = Support for gcc stack unwinding (from gcc 3.3)
dnl ========================================================
2010-07-19 22:43:54 -07:00
if test "$HAVE_GCC3_ABI" -a -z "$SKIP_LIBRARY_CHECKS"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_CHECK_HEADER(unwind.h, AC_CHECK_FUNCS(_Unwind_Backtrace))
fi
dnl ========================================================
dnl =
dnl = Misc. Options
dnl =
dnl ========================================================
MOZ_ARG_HEADER(Misc. Options)
dnl ========================================================
dnl update xterm title
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(xterm-updates,
[ --enable-xterm-updates Update XTERM titles with current command.],
MOZ_UPDATE_XTERM=1,
MOZ_UPDATE_XTERM= )
if test -z "$SKIP_COMPILER_CHECKS"; then
dnl ========================================================
dnl =
dnl = Compiler Options
dnl =
dnl ========================================================
MOZ_ARG_HEADER(Compiler Options)
dnl ========================================================
dnl Check for gcc -pipe support
dnl ========================================================
AC_MSG_CHECKING([for gcc -pipe support])
2010-07-19 22:43:54 -07:00
if test -n "$GNU_CC" -a -n "$GNU_CXX" -a -n "$GNU_AS"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
echo '#include <stdio.h>' > dummy-hello.c
echo 'int main() { printf("Hello World\n"); exit(0); }' >> dummy-hello.c
${CC} -S dummy-hello.c -o dummy-hello.s 2>&5
cat dummy-hello.s 2> /dev/null | ${AS_BIN} -o dummy-hello.S - 2>&5
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
if test $? = 0; then
_res_as_stdin="yes"
else
_res_as_stdin="no"
fi
if test "$_res_as_stdin" = "yes"; then
_SAVE_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -pipe"
AC_TRY_COMPILE( [ #include <stdio.h> ],
[printf("Hello World\n");],
[_res_gcc_pipe="yes"],
[_res_gcc_pipe="no"] )
CFLAGS=$_SAVE_CFLAGS
fi
2010-07-19 22:43:54 -07:00
if test "$_res_as_stdin" = "yes" -a "$_res_gcc_pipe" = "yes"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
_res="yes";
CFLAGS="$CFLAGS -pipe"
CXXFLAGS="$CXXFLAGS -pipe"
else
_res="no"
fi
rm -f dummy-hello.c dummy-hello.s dummy-hello.S dummy-hello a.out
AC_MSG_RESULT([$_res])
else
AC_MSG_RESULT([no])
fi
dnl ========================================================
dnl Profile guided optimization
dnl ========================================================
dnl Test for profiling options
dnl Under gcc 3.4+, use -fprofile-generate/-fprofile-use
dnl Provide a switch to disable PGO even when called via profiledbuild.
MOZ_ARG_DISABLE_BOOL(profile-guided-optimization,
[ --disable-profile-guided-optimization
Don't build with PGO even if called via make profiledbuild],
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
MOZ_PROFILE_GUIDED_OPTIMIZE_DISABLE=1,
MOZ_PROFILE_GUIDED_OPTIMIZE_DISABLE=)
AC_SUBST(MOZ_PROFILE_GUIDED_OPTIMIZE_DISABLE)
_SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fprofile-generate -fprofile-correction"
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_MSG_CHECKING([whether C compiler supports -fprofile-generate])
AC_TRY_COMPILE([], [return 0;],
[ PROFILE_GEN_CFLAGS="-fprofile-generate"
result="yes" ], result="no")
AC_MSG_RESULT([$result])
if test $result = "yes"; then
PROFILE_GEN_LDFLAGS="-fprofile-generate"
PROFILE_USE_CFLAGS="-fprofile-use -fprofile-correction -Wcoverage-mismatch -freorder-blocks-and-partition"
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
PROFILE_USE_LDFLAGS="-fprofile-use"
fi
CFLAGS="$_SAVE_CFLAGS"
if test -n "$INTEL_CC"; then
PROFILE_GEN_CFLAGS="-prof-gen -prof-dir ."
PROFILE_GEN_LDFLAGS=
PROFILE_USE_CFLAGS="-prof-use -prof-dir ."
PROFILE_USE_LDFLAGS=
fi
dnl Sun Studio on Solaris
if test "$SOLARIS_SUNPRO_CC"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
PROFILE_GEN_CFLAGS="-xprofile=collect:$_objdir/$enable_application"
PROFILE_GEN_LDFLAGS="-xprofile=collect:$_objdir/$enable_application"
PROFILE_USE_CFLAGS="-xprofile=use:$_objdir/$enable_application"
PROFILE_USE_LDFLAGS="-xprofile=use:$_objdir/$enable_application"
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
AC_SUBST(PROFILE_GEN_CFLAGS)
AC_SUBST(PROFILE_GEN_LDFLAGS)
AC_SUBST(PROFILE_USE_CFLAGS)
AC_SUBST(PROFILE_USE_LDFLAGS)
AC_LANG_CPLUSPLUS
dnl ========================================================
dnl Test for -pedantic bustage
dnl ========================================================
MOZ_ARG_DISABLE_BOOL(pedantic,
[ --disable-pedantic Issue all warnings demanded by strict ANSI C ],
_PEDANTIC= )
if test "$_PEDANTIC"; then
_SAVE_CXXFLAGS=$CXXFLAGS
CXXFLAGS="$CXXFLAGS ${_WARNINGS_CXXFLAGS} ${_COMPILER_PREFIX}-pedantic ${_COMPILER_PREFIX}-Wno-long-long"
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_MSG_CHECKING([whether C++ compiler has -pedantic long long bug])
AC_TRY_COMPILE([$configure_static_assert_macros],
[CONFIGURE_STATIC_ASSERT(sizeof(long long) == 8)],
result="no", result="yes" )
AC_MSG_RESULT([$result])
CXXFLAGS="$_SAVE_CXXFLAGS"
case "$result" in
no)
_WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} ${_COMPILER_PREFIX}-pedantic ${_COMPILER_PREFIX}-Wno-long-long"
_WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} ${_COMPILER_PREFIX}-pedantic ${_COMPILER_PREFIX}-Wno-long-long"
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
;;
yes)
AC_MSG_ERROR([Your compiler appears to have a known bug where long long is miscompiled when using -pedantic. Reconfigure using --disable-pedantic. ])
;;
esac
fi
dnl ========================================================
dnl Test for correct temporary object destruction order
dnl ========================================================
dnl We want to make sure the compiler follows the C++ spec here as
dnl xpcom and the string classes depend on it (bug 235381).
AC_MSG_CHECKING([for correct temporary object destruction order])
AC_TRY_RUN([ class A {
public: A(int& x) : mValue(x) {}
~A() { mValue--; }
operator char**() { return 0; }
private: int& mValue;
};
void func(char **arg) {}
int m=2;
void test() {
func(A(m));
if (m==1) m = 0;
}
int main() {
test();
return(m);
}
],
result="yes", result="no", result="maybe")
AC_MSG_RESULT([$result])
if test "$result" = "no"; then
AC_MSG_ERROR([Your compiler does not follow the C++ specification for temporary object destruction order.])
fi
dnl ========================================================
dnl Autoconf test for gcc 2.7.2.x (and maybe others?) so that we don't
dnl provide non-const forms of the operator== for comparing nsCOMPtrs to
dnl raw pointers in nsCOMPtr.h. (VC++ has the same bug.)
dnl ========================================================
_SAVE_CXXFLAGS=$CXXFLAGS
CXXFLAGS="$CXXFLAGS ${_WARNINGS_CXXFLAGS}"
AC_CACHE_CHECK(for correct overload resolution with const and templates,
ac_nscap_nonconst_opeq_bug,
[AC_TRY_COMPILE([
template <class T>
class Pointer
{
public:
T* myPtr;
};
template <class T, class U>
int operator==(const Pointer<T>& rhs, U* lhs)
{
return rhs.myPtr == lhs;
}
template <class T, class U>
int operator==(const Pointer<T>& rhs, const U* lhs)
{
return rhs.myPtr == lhs;
}
],
[
Pointer<int> foo;
const int* bar;
return foo == bar;
],
ac_nscap_nonconst_opeq_bug="no",
ac_nscap_nonconst_opeq_bug="yes")])
CXXFLAGS="$_SAVE_CXXFLAGS"
if test "$ac_nscap_nonconst_opeq_bug" = "yes" ; then
AC_DEFINE(NSCAP_DONT_PROVIDE_NONCONST_OPEQ)
fi
dnl ========================================================
dnl Check for tm_zone, tm_gmtoff in struct tm
dnl ========================================================
AC_CACHE_CHECK(for tm_zone tm_gmtoff in struct tm,
ac_cv_struct_tm_zone_tm_gmtoff,
[AC_TRY_COMPILE([#include <time.h>],
[struct tm tm; tm.tm_zone = 0; tm.tm_gmtoff = 1;],
[ac_cv_struct_tm_zone_tm_gmtoff="yes"],
[ac_cv_struct_tm_zone_tm_gmtoff="no"])])
if test "$ac_cv_struct_tm_zone_tm_gmtoff" = "yes" ; then
AC_DEFINE(HAVE_TM_ZONE_TM_GMTOFF)
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi # SKIP_COMPILER_CHECKS
dnl ========================================================
dnl C++ rtti
dnl Should be smarter and check that the compiler does indeed have rtti
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(cpp-rtti,
[ --enable-cpp-rtti Enable C++ RTTI ],
[ _MOZ_USE_RTTI=1 ],
[ _MOZ_USE_RTTI= ])
if test "$_MOZ_USE_RTTI"; then
_MOZ_RTTI_FLAGS=$_MOZ_RTTI_FLAGS_ON
else
_MOZ_RTTI_FLAGS=$_MOZ_RTTI_FLAGS_OFF
fi
AC_SUBST(_MOZ_RTTI_FLAGS_ON)
dnl ========================================================
dnl C++ exceptions (g++/VC/irix6/Sun only - for now)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl Should be smarter and check that the compiler does indeed have exceptions
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(cpp-exceptions,
[ --enable-cpp-exceptions Enable C++ exceptions ],
[ _MOZ_CPP_EXCEPTIONS=1 ],
[ _MOZ_CPP_EXCEPTIONS= ])
if test "$_MOZ_CPP_EXCEPTIONS"; then
_MOZ_EXCEPTIONS_FLAGS=$_MOZ_EXCEPTIONS_FLAGS_ON
AC_DEFINE(MOZ_CPP_EXCEPTIONS)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
else
_MOZ_EXCEPTIONS_FLAGS=$_MOZ_EXCEPTIONS_FLAGS_OFF
fi
AC_SUBST(_MOZ_EXCEPTIONS_FLAGS_ON)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
# Irix & OSF native compilers do not like exception declarations
# when exceptions are disabled
if test -n "$MIPSPRO_CXX" -o -n "$COMPAQ_CXX" -o -n "$VACPP"; then
AC_DEFINE(CPP_THROW_NEW, [])
else
AC_DEFINE(CPP_THROW_NEW, [throw()])
fi
AC_LANG_C
dnl ========================================================
dnl =
dnl = Build depencency options
dnl =
dnl ========================================================
MOZ_ARG_HEADER(Build dependencies)
dnl ========================================================
dnl = Do not auto generate dependency info
dnl ========================================================
MOZ_AUTO_DEPS=1
MOZ_ARG_DISABLE_BOOL(auto-deps,
[ --disable-auto-deps Do not automatically generate dependency info],
MOZ_AUTO_DEPS=,
MOZ_AUTO_DEPS=1)
if test -n "$MOZ_AUTO_DEPS"; then
dnl ========================================================
dnl = Use mkdepend instead of $CC -MD for dependency generation
dnl ========================================================
_cpp_md_flag=
MOZ_ARG_DISABLE_BOOL(md,
[ --disable-md Do not use compiler-based dependencies ],
[_cpp_md_flag=],
[_cpp_md_flag=1],
[dnl Default is to turn on -MD if using GNU-compatible compilers
if test "$GNU_CC" -a "$GNU_CXX" -a "$OS_ARCH" != "WINNT" -a "$OS_ARCH" != "WINCE"; then
_cpp_md_flag=1
fi
dnl Default is to use -xM if using Sun Studio on Solaris
if test "$SOLARIS_SUNPRO_CC"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
_cpp_md_flag=1
fi])
if test "$_cpp_md_flag"; then
COMPILER_DEPEND=1
if test "$OS_ARCH" = "OpenVMS"; then
_DEPEND_CFLAGS='$(subst =, ,$(filter-out %/.pp,-MM=-MD=-MF=$(MDDEPDIR)/$(basename $(@F)).pp))'
else
_DEPEND_CFLAGS='$(filter-out %/.pp,-MD -MF $(MDDEPDIR)/$(basename $(@F)).pp)'
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
dnl Sun Studio on Solaris use -xM instead of -MD, see config/rules.mk
if test "$SOLARIS_SUNPRO_CC"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
_DEPEND_CFLAGS=
fi
else
COMPILER_DEPEND=
dnl Don't override this for MSVC
if test -z "$_WIN32_MSVC"; then
_USE_CPP_INCLUDE_FLAG=
_DEFINES_CFLAGS='$(ACDEFINES) -D_JS_CONFDEFS_H_ -DMOZILLA_CLIENT'
_DEFINES_CXXFLAGS='$(ACDEFINES) -D_JS_CONFDEFS_H_ -DMOZILLA_CLIENT'
else
echo '#include <stdio.h>' > dummy-hello.c
changequote(,)
CL_INCLUDES_PREFIX=`"${CC}" -showIncludes -c -Fonul dummy-hello.c 2>&1 | sed -ne 's/^\([^:]*:[^:]*:\).*stdio.h$/\1/p'`
changequote([,])
if test -z "$CL_INCLUDES_PREFIX"; then
AC_MSG_ERROR([Cannot find cl -showIncludes prefix.])
fi
AC_SUBST(CL_INCLUDES_PREFIX)
rm -f dummy-hello.c
_topsrcdirwin=`cd \`dirname $0\`; pwd -W`
dnl cl.py provides dependency generation for MSVC
CC_WRAPPER="$PYTHON -O $_topsrcdirwin/build/cl.py"
CXX_WRAPPER="$PYTHON -O $_topsrcdirwin/build/cl.py"
COMPILER_DEPEND=1
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
fi # MOZ_AUTO_DEPS
MDDEPDIR='.deps'
AC_SUBST(MOZ_AUTO_DEPS)
AC_SUBST(COMPILER_DEPEND)
AC_SUBST(MDDEPDIR)
AC_SUBST(CC_WRAPPER)
AC_SUBST(CXX_WRAPPER)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl ========================================================
dnl =
dnl = Static Build Options
dnl =
dnl ========================================================
MOZ_ARG_HEADER(Static build options)
MOZ_ARG_ENABLE_BOOL(static,
[ --enable-static Enable building of internal static libs],
BUILD_STATIC_LIBS=1,
BUILD_STATIC_LIBS=)
dnl ========================================================
dnl = Link js shell to system readline
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(readline,
[ --enable-readline Link js shell to system readline library],
JS_WANT_READLINE=1,
JS_WANT_READLINE= )
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
JS_NATIVE_EDITLINE=
EDITLINE_LIBS=
JS_DISABLE_SHELL=
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
case "$target" in
*-wince*|*-winmo*|*-mingw*|*-cygwin*|*-msvc*|*-mks*)
NO_EDITLINE=1
;;
*-symbian*)
NO_EDITLINE=1
JS_DISABLE_SHELL=1
;;
*)
;;
esac
2009-03-11 23:24:04 -07:00
if test -z "$SKIP_LIBRARY_CHECKS" -a -z "$NO_EDITLINE"; then
if test -n "$JS_WANT_READLINE"; then
AC_CHECK_LIB(readline, readline,
EDITLINE_LIBS="-lreadline",
AC_MSG_ERROR([No system readline library found.]))
else
dnl By default, we use editline
JS_NATIVE_EDITLINE=1
EDITLINE_LIBS='$(DEPTH)/editline/$(LIB_PREFIX)editline.$(LIB_SUFFIX)'
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl Either way, we want to build with line editing support.
AC_DEFINE(EDITLINE)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
fi
AC_SUBST(JS_NATIVE_EDITLINE)
AC_SUBST(JS_DISABLE_SHELL)
AC_SUBST(EDITLINE_LIBS)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl ========================================================
dnl =
dnl = Standalone module options
dnl =
dnl ========================================================
MOZ_ARG_HEADER(Standalone module options (Not for building Mozilla))
dnl ========================================================
2010-07-19 22:43:54 -07:00
if test "$MOZ_DEBUG" -o "$NS_TRACE_MALLOC"; then
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS=
fi
MOZ_ARG_WITH_STRING(sync-build-files,
[ --with-sync-build-files=DIR
Check that files in 'config' and 'build' match
their originals in 'DIR/config' and 'DIR/build'.
This helps keep the SpiderMonkey build machinery
in sync with Mozilla's, on which it is based.],
[MOZ_SYNC_BUILD_FILES=$withval ] )
AC_SUBST(MOZ_SYNC_BUILD_FILES)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl ========================================================
dnl =
dnl = Maintainer debug option (no --enable equivalent)
dnl =
dnl ========================================================
AC_SUBST(AR)
AC_SUBST(AR_FLAGS)
AC_SUBST(AR_LIST)
AC_SUBST(AR_EXTRACT)
AC_SUBST(AR_DELETE)
AC_SUBST(AS)
AC_SUBST(ASFLAGS)
AC_SUBST(AS_DASH_C_FLAG)
AC_SUBST(LD)
AC_SUBST(RC)
AC_SUBST(RCFLAGS)
AC_SUBST(WINDRES)
AC_SUBST(IMPLIB)
AC_SUBST(FILTER)
AC_SUBST(BIN_FLAGS)
AC_SUBST(NS_USE_NATIVE)
AC_SUBST(MOZ_JS_LIBS)
AC_SUBST(MOZ_PSM)
AC_SUBST(MOZ_DEBUG)
AC_SUBST(MOZ_DEBUG_SYMBOLS)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_SUBST(MOZ_DEBUG_ENABLE_DEFS)
AC_SUBST(MOZ_DEBUG_DISABLE_DEFS)
AC_SUBST(MOZ_DEBUG_FLAGS)
AC_SUBST(MOZ_DEBUG_LDFLAGS)
AC_SUBST(WARNINGS_AS_ERRORS)
AC_SUBST(MOZ_LEAKY)
AC_SUBST(MOZ_JPROF)
AC_SUBST(MOZ_SHARK)
AC_SUBST(MOZ_CALLGRIND)
AC_SUBST(MOZ_VTUNE)
AC_SUBST(MOZ_PROFILING)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_SUBST(MOZ_JSLOADER)
AC_SUBST(MOZ_QUANTIFY)
AC_SUBST(LIBICONV)
AC_SUBST(BUILD_STATIC_LIBS)
AC_SUBST(ENABLE_TESTS)
AC_SUBST(ENABLE_STRIP)
AC_SUBST(PKG_SKIP_STRIP)
AC_SUBST(INCREMENTAL_LINKER)
AC_SUBST(MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS)
AC_SUBST(MOZ_COMPONENT_NSPR_LIBS)
AC_SUBST(MOZ_FIX_LINK_PATHS)
AC_SUBST(USE_DEPENDENT_LIBS)
AC_SUBST(MOZ_BUILD_ROOT)
AC_SUBST(MOZ_OS2_TOOLS)
AC_SUBST(MOZ_OS2_USE_DECLSPEC)
AC_SUBST(MOZ_POST_DSO_LIB_COMMAND)
AC_SUBST(MOZ_POST_PROGRAM_COMMAND)
AC_SUBST(MOZ_TIMELINE)
AC_SUBST(WINCE)
AC_SUBST(WINCE_WINDOWS_MOBILE)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_SUBST(MOZ_APP_NAME)
AC_SUBST(MOZ_APP_DISPLAYNAME)
AC_SUBST(MOZ_APP_UA_NAME)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_SUBST(MOZ_APP_VERSION)
AC_SUBST(MOZ_UA_FIREFOX_VERSION)
AC_SUBST(FIREFOX_VERSION)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_SUBST(MOZ_PKG_SPECIAL)
AC_SUBST(MOZILLA_OFFICIAL)
dnl win32 options
AC_SUBST(MOZ_MAPINFO)
AC_SUBST(MOZ_BROWSE_INFO)
AC_SUBST(MOZ_TOOLS_DIR)
AC_SUBST(CYGWIN_WRAPPER)
AC_SUBST(AS_PERL)
AC_SUBST(WIN32_REDIST_DIR)
AC_SUBST(PYTHON)
dnl Echo the CFLAGS to remove extra whitespace.
CFLAGS=`echo \
$_WARNINGS_CFLAGS \
$CFLAGS`
CXXFLAGS=`echo \
$_MOZ_RTTI_FLAGS \
$_MOZ_EXCEPTIONS_FLAGS \
$_WARNINGS_CXXFLAGS \
$CXXFLAGS`
COMPILE_CFLAGS=`echo \
$_DEFINES_CFLAGS \
$_DEPEND_CFLAGS \
$COMPILE_CFLAGS`
COMPILE_CXXFLAGS=`echo \
$_DEFINES_CXXFLAGS \
$_DEPEND_CFLAGS \
$COMPILE_CXXFLAGS`
AC_SUBST(SYSTEM_MAKEDEPEND)
AC_SUBST(NSPR_CFLAGS)
AC_SUBST(NSPR_LIBS)
AC_SUBST(MOZ_NATIVE_NSPR)
AC_SUBST(CFLAGS)
AC_SUBST(CXXFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(COMPILE_CFLAGS)
AC_SUBST(COMPILE_CXXFLAGS)
AC_SUBST(LDFLAGS)
AC_SUBST(LIBS)
AC_SUBST(CROSS_COMPILE)
AC_SUBST(HOST_CC)
AC_SUBST(HOST_CXX)
AC_SUBST(HOST_CFLAGS)
AC_SUBST(HOST_CXXFLAGS)
AC_SUBST(HOST_OPTIMIZE_FLAGS)
AC_SUBST(HOST_AR)
AC_SUBST(HOST_AR_FLAGS)
AC_SUBST(HOST_LD)
AC_SUBST(HOST_RANLIB)
AC_SUBST(HOST_NSPR_MDCPUCFG)
AC_SUBST(HOST_BIN_SUFFIX)
AC_SUBST(HOST_OS_ARCH)
AC_SUBST(TARGET_CPU)
AC_SUBST(TARGET_VENDOR)
AC_SUBST(TARGET_OS)
AC_SUBST(TARGET_NSPR_MDCPUCFG)
AC_SUBST(TARGET_MD_ARCH)
AC_SUBST(TARGET_XPCOM_ABI)
AC_SUBST(OS_TARGET)
AC_SUBST(OS_ARCH)
AC_SUBST(OS_RELEASE)
AC_SUBST(OS_TEST)
AC_SUBST(WRAP_MALLOC_CFLAGS)
AC_SUBST(WRAP_MALLOC_LIB)
AC_SUBST(MKSHLIB)
AC_SUBST(MKCSHLIB)
AC_SUBST(MKSHLIB_FORCE_ALL)
AC_SUBST(MKSHLIB_UNFORCE_ALL)
AC_SUBST(DSO_CFLAGS)
AC_SUBST(DSO_PIC_CFLAGS)
AC_SUBST(DSO_LDOPTS)
AC_SUBST(LIB_PREFIX)
AC_SUBST(DLL_PREFIX)
AC_SUBST(DLL_SUFFIX)
AC_DEFINE_UNQUOTED(MOZ_DLL_SUFFIX, "$DLL_SUFFIX")
AC_SUBST(LIB_SUFFIX)
AC_SUBST(OBJ_SUFFIX)
AC_SUBST(BIN_SUFFIX)
AC_SUBST(ASM_SUFFIX)
AC_SUBST(IMPORT_LIB_SUFFIX)
AC_SUBST(USE_N32)
AC_SUBST(CC_VERSION)
AC_SUBST(CXX_VERSION)
AC_SUBST(MSMANIFEST_TOOL)
if test "$USING_HCC"; then
CC='${topsrcdir}/build/hcc'
CC="$CC '$_OLDCC'"
CXX='${topsrcdir}/build/hcpp'
CXX="$CXX '$_OLDCXX'"
AC_SUBST(CC)
AC_SUBST(CXX)
fi
dnl Check for missing components
if test "$COMPILE_ENVIRONMENT"; then
if test "$MOZ_X11"; then
dnl ====================================================
dnl = Check if X headers exist
dnl ====================================================
_SAVE_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS $XCFLAGS"
AC_TRY_COMPILE([
#include <stdio.h>
#include <stdlib.h>
#include <X11/Xlib.h>
#include <X11/Intrinsic.h>
],
[
Display *dpy = 0;
if ((dpy = XOpenDisplay(NULL)) == NULL) {
fprintf(stderr, ": can't open %s\n", XDisplayName(NULL));
exit(1);
}
], [],
[ AC_MSG_ERROR([Could not compile basic X program.]) ])
CFLAGS="$_SAVE_CFLAGS"
if test ! -z "$MISSING_X"; then
AC_MSG_ERROR([ Could not find the following X libraries: $MISSING_X ]);
fi
fi # MOZ_X11
fi # COMPILE_ENVIRONMENT
dnl Set various defines and substitutions
dnl ========================================================
if test "$OS_ARCH" = "BeOS"; then
AC_DEFINE(XP_BEOS)
elif test "$OS_ARCH" = "Darwin"; then
AC_DEFINE(XP_MACOSX)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_DEFINE(XP_UNIX)
AC_DEFINE(UNIX_ASYNC_DNS)
elif test "$OS_ARCH" = "OpenVMS"; then
AC_DEFINE(XP_UNIX)
elif test "$OS_ARCH" != "WINNT" -a "$OS_ARCH" != "OS2" -a "$OS_ARCH" != "WINCE"; then
AC_DEFINE(XP_UNIX)
AC_DEFINE(UNIX_ASYNC_DNS)
fi
AC_ARG_ENABLE(threadsafe,
[ --enable-threadsafe Enable support for multiple threads.],
[AC_DEFINE(JS_THREADSAFE)],)
if test "$MOZ_DEBUG"; then
AC_DEFINE(MOZ_REFLOW_PERF)
AC_DEFINE(MOZ_REFLOW_PERF_DSP)
fi
if test "$ACCESSIBILITY" -a "$MOZ_ENABLE_GTK2" ; then
AC_DEFINE(MOZ_ACCESSIBILITY_ATK)
ATK_FULL_VERSION=`$PKG_CONFIG --modversion atk`
ATK_MAJOR_VERSION=`echo ${ATK_FULL_VERSION} | $AWK -F\. '{ print $1 }'`
ATK_MINOR_VERSION=`echo ${ATK_FULL_VERSION} | $AWK -F\. '{ print $2 }'`
ATK_REV_VERSION=`echo ${ATK_FULL_VERSION} | $AWK -F\. '{ print $3 }'`
AC_DEFINE_UNQUOTED(ATK_MAJOR_VERSION, $ATK_MAJOR_VERSION)
AC_DEFINE_UNQUOTED(ATK_MINOR_VERSION, $ATK_MINOR_VERSION)
AC_DEFINE_UNQUOTED(ATK_REV_VERSION, $ATK_REV_VERSION)
fi
dnl ========================================================
dnl JavaScript shell
dnl ========================================================
AC_HAVE_FUNCS(setlocale)
AC_HAVE_FUNCS(localeconv)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl ========================================================
dnl Use cygwin wrapper for win32 builds, except MSYS/MinGW
dnl ========================================================
case "$host_os" in
mingw*)
WIN_TOP_SRC=`cd $srcdir; pwd -W`
;;
cygwin*|msvc*|mks*)
HOST_CC="\$(CYGWIN_WRAPPER) $HOST_CC"
HOST_CXX="\$(CYGWIN_WRAPPER) $HOST_CXX"
CC="\$(CYGWIN_WRAPPER) $CC"
CXX="\$(CYGWIN_WRAPPER) $CXX"
CPP="\$(CYGWIN_WRAPPER) $CPP"
LD="\$(CYGWIN_WRAPPER) $LD"
AS="\$(CYGWIN_WRAPPER) $AS"
RC="\$(CYGWIN_WRAPPER) $RC"
CYGDRIVE_MOUNT=`mount -p | awk '{ if (/^\//) { print $1; exit } }'`
WIN_TOP_SRC=`cygpath -a -w $srcdir | sed -e 's|\\\\|/|g'`
;;
esac
AC_SUBST(CYGDRIVE_MOUNT)
AC_SUBST(WIN_TOP_SRC)
AC_SUBST(MOZILLA_VERSION)
AC_SUBST(ac_configure_args)
dnl Spit out some output
dnl ========================================================
# Save the defines header file before autoconf removes it.
# (Do not add AC_DEFINE calls after this line.)
_CONFIG_TMP=confdefs-tmp.h
_CONFIG_DEFS_H=js-confdefs.h
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
cat > $_CONFIG_TMP <<\EOF
/* List of defines generated by configure. Included with preprocessor flag,
* -include, to avoid long list of -D defines on the compile command-line.
* Do not edit.
*/
#ifndef _JS_CONFDEFS_H_
#define _JS_CONFDEFS_H_
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
EOF
_EGREP_PATTERN='^#define ('
if test -n "$_NON_GLOBAL_ACDEFINES"; then
for f in $_NON_GLOBAL_ACDEFINES; do
_EGREP_PATTERN="${_EGREP_PATTERN}$f|"
done
fi
_EGREP_PATTERN="${_EGREP_PATTERN}dummy_never_defined)"
sort confdefs.h | egrep -v "$_EGREP_PATTERN" >> $_CONFIG_TMP
cat >> $_CONFIG_TMP <<\EOF
#endif /* _JS_CONFDEFS_H_ */
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
EOF
# Only write js-confdefs.h when something changes (or it doesn't exist)
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
if cmp -s $_CONFIG_TMP $_CONFIG_DEFS_H; then
rm $_CONFIG_TMP
else
AC_MSG_RESULT("creating $_CONFIG_DEFS_H")
mv -f $_CONFIG_TMP $_CONFIG_DEFS_H
echo ==== $_CONFIG_DEFS_H =================================
cat $_CONFIG_DEFS_H
fi
dnl Probably shouldn't call this manually but we always want the output of DEFS
rm -f confdefs.h.save
mv confdefs.h confdefs.h.save
egrep -v "$_EGREP_PATTERN" confdefs.h.save > confdefs.h
AC_OUTPUT_MAKE_DEFS()
MOZ_DEFINES=$DEFS
AC_SUBST(MOZ_DEFINES)
rm -f confdefs.h
mv confdefs.h.save confdefs.h
MAKEFILES="
Makefile
shell/Makefile
lirasm/Makefile
jsapi-tests/Makefile
Bug 469718 - browser javascript reftests, r=ted.mielczarek, r=sayrer, r=dbaron. --HG-- rename : js/tests/Patterns.pm => js/src/tests/Patterns.pm rename : js/tests/README-jsDriver.html => js/src/tests/README-jsDriver.html rename : js/tests/Makefile => js/src/tests/SisyphusMakefile rename : js/tests/bisect.sh => js/src/tests/bisect.sh rename : js/tests/browser.js => js/src/tests/browser.js rename : js/tests/changes.sh => js/src/tests/changes.sh rename : js/tests/config.mk => js/src/tests/config.mk rename : js/tests/config.sh => js/src/tests/config.sh rename : js/tests/detect-universe.sh => js/src/tests/detect-universe.sh rename : js/tests/dikdik-n.tests => js/src/tests/dikdik-n.tests rename : js/tests/e4x/Expressions/11.1.1.js => js/src/tests/e4x/Expressions/11.1.1.js rename : js/tests/e4x/Expressions/11.1.2.js => js/src/tests/e4x/Expressions/11.1.2.js rename : js/tests/e4x/Expressions/11.1.3.js => js/src/tests/e4x/Expressions/11.1.3.js rename : js/tests/e4x/Expressions/11.1.4-01.js => js/src/tests/e4x/Expressions/11.1.4-01.js rename : js/tests/e4x/Expressions/11.1.4-02.js => js/src/tests/e4x/Expressions/11.1.4-02.js rename : js/tests/e4x/Expressions/11.1.4-03.js => js/src/tests/e4x/Expressions/11.1.4-03.js rename : js/tests/e4x/Expressions/11.1.4-04.js => js/src/tests/e4x/Expressions/11.1.4-04.js rename : js/tests/e4x/Expressions/11.1.4-05.js => js/src/tests/e4x/Expressions/11.1.4-05.js rename : js/tests/e4x/Expressions/11.1.4-06.js => js/src/tests/e4x/Expressions/11.1.4-06.js rename : js/tests/e4x/Expressions/11.1.4-07.js => js/src/tests/e4x/Expressions/11.1.4-07.js rename : js/tests/e4x/Expressions/11.1.4-08.js => js/src/tests/e4x/Expressions/11.1.4-08.js rename : js/tests/e4x/Expressions/11.1.4.js => js/src/tests/e4x/Expressions/11.1.4.js rename : js/tests/e4x/Expressions/11.1.5.js => js/src/tests/e4x/Expressions/11.1.5.js rename : js/tests/e4x/Expressions/11.2.1.js => js/src/tests/e4x/Expressions/11.2.1.js rename : js/tests/e4x/Expressions/11.2.2.js => js/src/tests/e4x/Expressions/11.2.2.js rename : js/tests/e4x/Expressions/11.2.3.js => js/src/tests/e4x/Expressions/11.2.3.js rename : js/tests/e4x/Expressions/11.2.4.js => js/src/tests/e4x/Expressions/11.2.4.js rename : js/tests/e4x/Expressions/11.3.1.js => js/src/tests/e4x/Expressions/11.3.1.js rename : js/tests/e4x/Expressions/11.3.2.js => js/src/tests/e4x/Expressions/11.3.2.js rename : js/tests/e4x/Expressions/11.4.1.js => js/src/tests/e4x/Expressions/11.4.1.js rename : js/tests/e4x/Expressions/11.5.1.js => js/src/tests/e4x/Expressions/11.5.1.js rename : js/tests/e4x/Expressions/11.6.1.js => js/src/tests/e4x/Expressions/11.6.1.js rename : js/tests/e4x/Expressions/11.6.2.js => js/src/tests/e4x/Expressions/11.6.2.js rename : js/tests/e4x/Expressions/11.6.3.js => js/src/tests/e4x/Expressions/11.6.3.js rename : js/tests/e4x/Expressions/browser.js => js/src/tests/e4x/Expressions/browser.js rename : js/tests/e4x/Expressions/regress-301545.js => js/src/tests/e4x/Expressions/regress-301545.js rename : js/tests/e4x/Expressions/regress-302531.js => js/src/tests/e4x/Expressions/regress-302531.js rename : js/tests/e4x/Expressions/regress-340024.js => js/src/tests/e4x/Expressions/regress-340024.js rename : js/tests/e4x/Expressions/regress-366123.js => js/src/tests/e4x/Expressions/regress-366123.js rename : js/tests/e4x/Expressions/regress-496113.js => js/src/tests/e4x/Expressions/regress-496113.js rename : js/tests/e4x/Expressions/shell.js => js/src/tests/e4x/Expressions/shell.js rename : js/tests/e4x/GC/browser.js => js/src/tests/e4x/GC/browser.js rename : js/tests/e4x/GC/regress-280844-1.js => js/src/tests/e4x/GC/regress-280844-1.js rename : js/tests/e4x/GC/regress-280844-2.js => js/src/tests/e4x/GC/regress-280844-2.js rename : js/tests/e4x/GC/regress-292455.js => js/src/tests/e4x/GC/regress-292455.js rename : js/tests/e4x/GC/regress-313952-01.js => js/src/tests/e4x/GC/regress-313952-01.js rename : js/tests/e4x/GC/regress-313952-02.js => js/src/tests/e4x/GC/regress-313952-02.js rename : js/tests/e4x/GC/regress-324117.js => js/src/tests/e4x/GC/regress-324117.js rename : js/tests/e4x/GC/regress-324278.js => js/src/tests/e4x/GC/regress-324278.js rename : js/tests/e4x/GC/regress-339785.js => js/src/tests/e4x/GC/regress-339785.js rename : js/tests/e4x/GC/regress-357063-01.js => js/src/tests/e4x/GC/regress-357063-01.js rename : js/tests/e4x/GC/regress-357063-02.js => js/src/tests/e4x/GC/regress-357063-02.js rename : js/tests/e4x/GC/shell.js => js/src/tests/e4x/GC/shell.js rename : js/tests/e4x/Global/13.1.2.1.js => js/src/tests/e4x/Global/13.1.2.1.js rename : js/tests/e4x/Global/browser.js => js/src/tests/e4x/Global/browser.js rename : js/tests/e4x/Global/shell.js => js/src/tests/e4x/Global/shell.js rename : js/tests/e4x/Namespace/13.2.1.js => js/src/tests/e4x/Namespace/13.2.1.js rename : js/tests/e4x/Namespace/13.2.2.js => js/src/tests/e4x/Namespace/13.2.2.js rename : js/tests/e4x/Namespace/13.2.5.js => js/src/tests/e4x/Namespace/13.2.5.js rename : js/tests/e4x/Namespace/browser.js => js/src/tests/e4x/Namespace/browser.js rename : js/tests/e4x/Namespace/regress-283972.js => js/src/tests/e4x/Namespace/regress-283972.js rename : js/tests/e4x/Namespace/regress-292863.js => js/src/tests/e4x/Namespace/regress-292863.js rename : js/tests/e4x/Namespace/regress-350442.js => js/src/tests/e4x/Namespace/regress-350442.js rename : js/tests/e4x/Namespace/regress-444608-02.js => js/src/tests/e4x/Namespace/regress-444608-02.js rename : js/tests/e4x/Namespace/regress-444608.js => js/src/tests/e4x/Namespace/regress-444608.js rename : js/tests/e4x/Namespace/shell.js => js/src/tests/e4x/Namespace/shell.js rename : js/tests/e4x/QName/13.3.1.js => js/src/tests/e4x/QName/13.3.1.js rename : js/tests/e4x/QName/13.3.2.js => js/src/tests/e4x/QName/13.3.2.js rename : js/tests/e4x/QName/13.3.5.js => js/src/tests/e4x/QName/13.3.5.js rename : js/tests/e4x/QName/browser.js => js/src/tests/e4x/QName/browser.js rename : js/tests/e4x/QName/regress-373595-01.js => js/src/tests/e4x/QName/regress-373595-01.js rename : js/tests/e4x/QName/regress-373595-02.js => js/src/tests/e4x/QName/regress-373595-02.js rename : js/tests/e4x/QName/regress-373595-03.js => js/src/tests/e4x/QName/regress-373595-03.js rename : js/tests/e4x/QName/regress-444608.js => js/src/tests/e4x/QName/regress-444608.js rename : js/tests/e4x/QName/shell.js => js/src/tests/e4x/QName/shell.js rename : js/tests/e4x/Regress/browser.js => js/src/tests/e4x/Regress/browser.js rename : js/tests/e4x/Regress/regress-257679.js => js/src/tests/e4x/Regress/regress-257679.js rename : js/tests/e4x/Regress/regress-263934.js => js/src/tests/e4x/Regress/regress-263934.js rename : js/tests/e4x/Regress/regress-263935.js => js/src/tests/e4x/Regress/regress-263935.js rename : js/tests/e4x/Regress/regress-263936.js => js/src/tests/e4x/Regress/regress-263936.js rename : js/tests/e4x/Regress/regress-264369.js => js/src/tests/e4x/Regress/regress-264369.js rename : js/tests/e4x/Regress/regress-271545.js => js/src/tests/e4x/Regress/regress-271545.js rename : js/tests/e4x/Regress/regress-277650.js => js/src/tests/e4x/Regress/regress-277650.js rename : js/tests/e4x/Regress/regress-277664.js => js/src/tests/e4x/Regress/regress-277664.js rename : js/tests/e4x/Regress/regress-277683.js => js/src/tests/e4x/Regress/regress-277683.js rename : js/tests/e4x/Regress/regress-277779.js => js/src/tests/e4x/Regress/regress-277779.js rename : js/tests/e4x/Regress/regress-277935.js => js/src/tests/e4x/Regress/regress-277935.js rename : js/tests/e4x/Regress/regress-278112.js => js/src/tests/e4x/Regress/regress-278112.js rename : js/tests/e4x/Regress/regress-283349.js => js/src/tests/e4x/Regress/regress-283349.js rename : js/tests/e4x/Regress/regress-290056.js => js/src/tests/e4x/Regress/regress-290056.js rename : js/tests/e4x/Regress/regress-290499.js => js/src/tests/e4x/Regress/regress-290499.js rename : js/tests/e4x/Regress/regress-301553.js => js/src/tests/e4x/Regress/regress-301553.js rename : js/tests/e4x/Regress/regress-301573.js => js/src/tests/e4x/Regress/regress-301573.js rename : js/tests/e4x/Regress/regress-301596.js => js/src/tests/e4x/Regress/regress-301596.js rename : js/tests/e4x/Regress/regress-301692.js => js/src/tests/e4x/Regress/regress-301692.js rename : js/tests/e4x/Regress/regress-308111.js => js/src/tests/e4x/Regress/regress-308111.js rename : js/tests/e4x/Regress/regress-309897.js => js/src/tests/e4x/Regress/regress-309897.js rename : js/tests/e4x/Regress/regress-311580.js => js/src/tests/e4x/Regress/regress-311580.js rename : js/tests/e4x/Regress/regress-313799.js => js/src/tests/e4x/Regress/regress-313799.js rename : js/tests/e4x/Regress/regress-318922.js => js/src/tests/e4x/Regress/regress-318922.js rename : js/tests/e4x/Regress/regress-319872.js => js/src/tests/e4x/Regress/regress-319872.js rename : js/tests/e4x/Regress/regress-321547.js => js/src/tests/e4x/Regress/regress-321547.js rename : js/tests/e4x/Regress/regress-322499.js => js/src/tests/e4x/Regress/regress-322499.js rename : js/tests/e4x/Regress/regress-323338-1.js => js/src/tests/e4x/Regress/regress-323338-1.js rename : js/tests/e4x/Regress/regress-323338-2.js => js/src/tests/e4x/Regress/regress-323338-2.js rename : js/tests/e4x/Regress/regress-325425.js => js/src/tests/e4x/Regress/regress-325425.js rename : js/tests/e4x/Regress/regress-327564.js => js/src/tests/e4x/Regress/regress-327564.js rename : js/tests/e4x/Regress/regress-327691-01.js => js/src/tests/e4x/Regress/regress-327691-01.js rename : js/tests/e4x/Regress/regress-327691-02.js => js/src/tests/e4x/Regress/regress-327691-02.js rename : js/tests/e4x/Regress/regress-327697.js => js/src/tests/e4x/Regress/regress-327697.js rename : js/tests/e4x/Regress/regress-328249.js => js/src/tests/e4x/Regress/regress-328249.js rename : js/tests/e4x/Regress/regress-329257.js => js/src/tests/e4x/Regress/regress-329257.js rename : js/tests/e4x/Regress/regress-331558.js => js/src/tests/e4x/Regress/regress-331558.js rename : js/tests/e4x/Regress/regress-331664.js => js/src/tests/e4x/Regress/regress-331664.js rename : js/tests/e4x/Regress/regress-344455.js => js/src/tests/e4x/Regress/regress-344455.js rename : js/tests/e4x/Regress/regress-347155.js => js/src/tests/e4x/Regress/regress-347155.js rename : js/tests/e4x/Regress/regress-350206-1.js => js/src/tests/e4x/Regress/regress-350206-1.js rename : js/tests/e4x/Regress/regress-350206.js => js/src/tests/e4x/Regress/regress-350206.js rename : js/tests/e4x/Regress/regress-350238.js => js/src/tests/e4x/Regress/regress-350238.js rename : js/tests/e4x/Regress/regress-350629.js => js/src/tests/e4x/Regress/regress-350629.js rename : js/tests/e4x/Regress/regress-352097.js => js/src/tests/e4x/Regress/regress-352097.js rename : js/tests/e4x/Regress/regress-352103.js => js/src/tests/e4x/Regress/regress-352103.js rename : js/tests/e4x/Regress/regress-352223.js => js/src/tests/e4x/Regress/regress-352223.js rename : js/tests/e4x/Regress/regress-354145-01.js => js/src/tests/e4x/Regress/regress-354145-01.js rename : js/tests/e4x/Regress/regress-354145-02.js => js/src/tests/e4x/Regress/regress-354145-02.js rename : js/tests/e4x/Regress/regress-354145-03.js => js/src/tests/e4x/Regress/regress-354145-03.js rename : js/tests/e4x/Regress/regress-354145-04.js => js/src/tests/e4x/Regress/regress-354145-04.js rename : js/tests/e4x/Regress/regress-354145-05.js => js/src/tests/e4x/Regress/regress-354145-05.js rename : js/tests/e4x/Regress/regress-354145-07.js => js/src/tests/e4x/Regress/regress-354145-07.js rename : js/tests/e4x/Regress/regress-354998.js => js/src/tests/e4x/Regress/regress-354998.js rename : js/tests/e4x/Regress/regress-355474-02.js => js/src/tests/e4x/Regress/regress-355474-02.js rename : js/tests/e4x/Regress/regress-355478.js => js/src/tests/e4x/Regress/regress-355478.js rename : js/tests/e4x/Regress/regress-355569.js => js/src/tests/e4x/Regress/regress-355569.js rename : js/tests/e4x/Regress/regress-356238-01.js => js/src/tests/e4x/Regress/regress-356238-01.js rename : js/tests/e4x/Regress/regress-356238-02.js => js/src/tests/e4x/Regress/regress-356238-02.js rename : js/tests/e4x/Regress/regress-356238-03.js => js/src/tests/e4x/Regress/regress-356238-03.js rename : js/tests/e4x/Regress/regress-361451.js => js/src/tests/e4x/Regress/regress-361451.js rename : js/tests/e4x/Regress/regress-364017.js => js/src/tests/e4x/Regress/regress-364017.js rename : js/tests/e4x/Regress/regress-369032.js => js/src/tests/e4x/Regress/regress-369032.js rename : js/tests/e4x/Regress/regress-369536.js => js/src/tests/e4x/Regress/regress-369536.js rename : js/tests/e4x/Regress/regress-369740.js => js/src/tests/e4x/Regress/regress-369740.js rename : js/tests/e4x/Regress/regress-370016.js => js/src/tests/e4x/Regress/regress-370016.js rename : js/tests/e4x/Regress/regress-370048-01.js => js/src/tests/e4x/Regress/regress-370048-01.js rename : js/tests/e4x/Regress/regress-370048-02.js => js/src/tests/e4x/Regress/regress-370048-02.js rename : js/tests/e4x/Regress/regress-370372.js => js/src/tests/e4x/Regress/regress-370372.js rename : js/tests/e4x/Regress/regress-371369.js => js/src/tests/e4x/Regress/regress-371369.js rename : js/tests/e4x/Regress/regress-372563.js => js/src/tests/e4x/Regress/regress-372563.js rename : js/tests/e4x/Regress/regress-372564.js => js/src/tests/e4x/Regress/regress-372564.js rename : js/tests/e4x/Regress/regress-373082.js => js/src/tests/e4x/Regress/regress-373082.js rename : js/tests/e4x/Regress/regress-374106.js => js/src/tests/e4x/Regress/regress-374106.js rename : js/tests/e4x/Regress/regress-374112.js => js/src/tests/e4x/Regress/regress-374112.js rename : js/tests/e4x/Regress/regress-374116.js => js/src/tests/e4x/Regress/regress-374116.js rename : js/tests/e4x/Regress/regress-374160.js => js/src/tests/e4x/Regress/regress-374160.js rename : js/tests/e4x/Regress/regress-375406.js => js/src/tests/e4x/Regress/regress-375406.js rename : js/tests/e4x/Regress/regress-378492.js => js/src/tests/e4x/Regress/regress-378492.js rename : js/tests/e4x/Regress/regress-380833.js => js/src/tests/e4x/Regress/regress-380833.js rename : js/tests/e4x/Regress/regress-383255.js => js/src/tests/e4x/Regress/regress-383255.js rename : js/tests/e4x/Regress/regress-394941.js => js/src/tests/e4x/Regress/regress-394941.js rename : js/tests/e4x/Regress/regress-407323.js => js/src/tests/e4x/Regress/regress-407323.js rename : js/tests/e4x/Regress/regress-426520.js => js/src/tests/e4x/Regress/regress-426520.js rename : js/tests/e4x/Regress/regress-453915.js => js/src/tests/e4x/Regress/regress-453915.js rename : js/tests/e4x/Regress/regress-458679-01.js => js/src/tests/e4x/Regress/regress-458679-01.js rename : js/tests/e4x/Regress/regress-458679-02.js => js/src/tests/e4x/Regress/regress-458679-02.js rename : js/tests/e4x/Regress/regress-460180.js => js/src/tests/e4x/Regress/regress-460180.js rename : js/tests/e4x/Regress/regress-465063.js => js/src/tests/e4x/Regress/regress-465063.js rename : js/tests/e4x/Regress/regress-473709.js => js/src/tests/e4x/Regress/regress-473709.js rename : js/tests/e4x/Regress/regress-474319.js => js/src/tests/e4x/Regress/regress-474319.js rename : js/tests/e4x/Regress/regress-477053.js => js/src/tests/e4x/Regress/regress-477053.js rename : js/tests/e4x/Regress/shell.js => js/src/tests/e4x/Regress/shell.js rename : js/tests/e4x/Statements/12.1.js => js/src/tests/e4x/Statements/12.1.js rename : js/tests/e4x/Statements/12.2.js => js/src/tests/e4x/Statements/12.2.js rename : js/tests/e4x/Statements/12.3-01.js => js/src/tests/e4x/Statements/12.3-01.js rename : js/tests/e4x/Statements/browser.js => js/src/tests/e4x/Statements/browser.js rename : js/tests/e4x/Statements/shell.js => js/src/tests/e4x/Statements/shell.js rename : js/tests/e4x/TypeConversion/10.1.1.js => js/src/tests/e4x/TypeConversion/10.1.1.js rename : js/tests/e4x/TypeConversion/10.1.2.js => js/src/tests/e4x/TypeConversion/10.1.2.js rename : js/tests/e4x/TypeConversion/10.2.1.js => js/src/tests/e4x/TypeConversion/10.2.1.js rename : js/tests/e4x/TypeConversion/10.3.1.js => js/src/tests/e4x/TypeConversion/10.3.1.js rename : js/tests/e4x/TypeConversion/10.3.js => js/src/tests/e4x/TypeConversion/10.3.js rename : js/tests/e4x/TypeConversion/10.4.1.js => js/src/tests/e4x/TypeConversion/10.4.1.js rename : js/tests/e4x/TypeConversion/10.4.js => js/src/tests/e4x/TypeConversion/10.4.js rename : js/tests/e4x/TypeConversion/10.5.1.js => js/src/tests/e4x/TypeConversion/10.5.1.js rename : js/tests/e4x/TypeConversion/10.5.js => js/src/tests/e4x/TypeConversion/10.5.js rename : js/tests/e4x/TypeConversion/10.6.1.js => js/src/tests/e4x/TypeConversion/10.6.1.js rename : js/tests/e4x/TypeConversion/10.6.js => js/src/tests/e4x/TypeConversion/10.6.js rename : js/tests/e4x/TypeConversion/browser.js => js/src/tests/e4x/TypeConversion/browser.js rename : js/tests/e4x/TypeConversion/regress-302097.js => js/src/tests/e4x/TypeConversion/regress-302097.js rename : js/tests/e4x/TypeConversion/shell.js => js/src/tests/e4x/TypeConversion/shell.js rename : js/tests/e4x/Types/9.1.1.1.js => js/src/tests/e4x/Types/9.1.1.1.js rename : js/tests/e4x/Types/9.1.1.10.js => js/src/tests/e4x/Types/9.1.1.10.js rename : js/tests/e4x/Types/9.1.1.11.js => js/src/tests/e4x/Types/9.1.1.11.js rename : js/tests/e4x/Types/9.1.1.12.js => js/src/tests/e4x/Types/9.1.1.12.js rename : js/tests/e4x/Types/9.1.1.13.js => js/src/tests/e4x/Types/9.1.1.13.js rename : js/tests/e4x/Types/9.1.1.2.js => js/src/tests/e4x/Types/9.1.1.2.js rename : js/tests/e4x/Types/9.1.1.3.js => js/src/tests/e4x/Types/9.1.1.3.js rename : js/tests/e4x/Types/9.1.1.4.js => js/src/tests/e4x/Types/9.1.1.4.js rename : js/tests/e4x/Types/9.1.1.5.js => js/src/tests/e4x/Types/9.1.1.5.js rename : js/tests/e4x/Types/9.1.1.6.js => js/src/tests/e4x/Types/9.1.1.6.js rename : js/tests/e4x/Types/9.1.1.7.js => js/src/tests/e4x/Types/9.1.1.7.js rename : js/tests/e4x/Types/9.1.1.8.js => js/src/tests/e4x/Types/9.1.1.8.js rename : js/tests/e4x/Types/9.1.1.9.js => js/src/tests/e4x/Types/9.1.1.9.js rename : js/tests/e4x/Types/9.2.1.1.js => js/src/tests/e4x/Types/9.2.1.1.js rename : js/tests/e4x/Types/9.2.1.10.js => js/src/tests/e4x/Types/9.2.1.10.js rename : js/tests/e4x/Types/9.2.1.2.js => js/src/tests/e4x/Types/9.2.1.2.js rename : js/tests/e4x/Types/9.2.1.3.js => js/src/tests/e4x/Types/9.2.1.3.js rename : js/tests/e4x/Types/9.2.1.4.js => js/src/tests/e4x/Types/9.2.1.4.js rename : js/tests/e4x/Types/9.2.1.5.js => js/src/tests/e4x/Types/9.2.1.5.js rename : js/tests/e4x/Types/9.2.1.6.js => js/src/tests/e4x/Types/9.2.1.6.js rename : js/tests/e4x/Types/9.2.1.7.js => js/src/tests/e4x/Types/9.2.1.7.js rename : js/tests/e4x/Types/9.2.1.8.js => js/src/tests/e4x/Types/9.2.1.8.js rename : js/tests/e4x/Types/9.2.1.9.js => js/src/tests/e4x/Types/9.2.1.9.js rename : js/tests/e4x/Types/browser.js => js/src/tests/e4x/Types/browser.js rename : js/tests/e4x/Types/shell.js => js/src/tests/e4x/Types/shell.js rename : js/tests/e4x/XML/13.4.1.js => js/src/tests/e4x/XML/13.4.1.js rename : js/tests/e4x/XML/13.4.2.js => js/src/tests/e4x/XML/13.4.2.js rename : js/tests/e4x/XML/13.4.3.10.js => js/src/tests/e4x/XML/13.4.3.10.js rename : js/tests/e4x/XML/13.4.3.js => js/src/tests/e4x/XML/13.4.3.js rename : js/tests/e4x/XML/13.4.4.1.js => js/src/tests/e4x/XML/13.4.4.1.js rename : js/tests/e4x/XML/13.4.4.10.js => js/src/tests/e4x/XML/13.4.4.10.js rename : js/tests/e4x/XML/13.4.4.11.js => js/src/tests/e4x/XML/13.4.4.11.js rename : js/tests/e4x/XML/13.4.4.12-1.js => js/src/tests/e4x/XML/13.4.4.12-1.js rename : js/tests/e4x/XML/13.4.4.12.js => js/src/tests/e4x/XML/13.4.4.12.js rename : js/tests/e4x/XML/13.4.4.13.js => js/src/tests/e4x/XML/13.4.4.13.js rename : js/tests/e4x/XML/13.4.4.14.js => js/src/tests/e4x/XML/13.4.4.14.js rename : js/tests/e4x/XML/13.4.4.15.js => js/src/tests/e4x/XML/13.4.4.15.js rename : js/tests/e4x/XML/13.4.4.16.js => js/src/tests/e4x/XML/13.4.4.16.js rename : js/tests/e4x/XML/13.4.4.17.js => js/src/tests/e4x/XML/13.4.4.17.js rename : js/tests/e4x/XML/13.4.4.18.js => js/src/tests/e4x/XML/13.4.4.18.js rename : js/tests/e4x/XML/13.4.4.19.js => js/src/tests/e4x/XML/13.4.4.19.js rename : js/tests/e4x/XML/13.4.4.2.js => js/src/tests/e4x/XML/13.4.4.2.js rename : js/tests/e4x/XML/13.4.4.20.js => js/src/tests/e4x/XML/13.4.4.20.js rename : js/tests/e4x/XML/13.4.4.21.js => js/src/tests/e4x/XML/13.4.4.21.js rename : js/tests/e4x/XML/13.4.4.22.js => js/src/tests/e4x/XML/13.4.4.22.js rename : js/tests/e4x/XML/13.4.4.23.js => js/src/tests/e4x/XML/13.4.4.23.js rename : js/tests/e4x/XML/13.4.4.24.js => js/src/tests/e4x/XML/13.4.4.24.js rename : js/tests/e4x/XML/13.4.4.25.js => js/src/tests/e4x/XML/13.4.4.25.js rename : js/tests/e4x/XML/13.4.4.26.js => js/src/tests/e4x/XML/13.4.4.26.js rename : js/tests/e4x/XML/13.4.4.27.js => js/src/tests/e4x/XML/13.4.4.27.js rename : js/tests/e4x/XML/13.4.4.28.js => js/src/tests/e4x/XML/13.4.4.28.js rename : js/tests/e4x/XML/13.4.4.29.js => js/src/tests/e4x/XML/13.4.4.29.js rename : js/tests/e4x/XML/13.4.4.3-01.js => js/src/tests/e4x/XML/13.4.4.3-01.js rename : js/tests/e4x/XML/13.4.4.3-02.js => js/src/tests/e4x/XML/13.4.4.3-02.js rename : js/tests/e4x/XML/13.4.4.3.js => js/src/tests/e4x/XML/13.4.4.3.js rename : js/tests/e4x/XML/13.4.4.30.js => js/src/tests/e4x/XML/13.4.4.30.js rename : js/tests/e4x/XML/13.4.4.31.js => js/src/tests/e4x/XML/13.4.4.31.js rename : js/tests/e4x/XML/13.4.4.32-01.js => js/src/tests/e4x/XML/13.4.4.32-01.js rename : js/tests/e4x/XML/13.4.4.32.js => js/src/tests/e4x/XML/13.4.4.32.js rename : js/tests/e4x/XML/13.4.4.33.js => js/src/tests/e4x/XML/13.4.4.33.js rename : js/tests/e4x/XML/13.4.4.34.js => js/src/tests/e4x/XML/13.4.4.34.js rename : js/tests/e4x/XML/13.4.4.35.js => js/src/tests/e4x/XML/13.4.4.35.js rename : js/tests/e4x/XML/13.4.4.36.js => js/src/tests/e4x/XML/13.4.4.36.js rename : js/tests/e4x/XML/13.4.4.37.js => js/src/tests/e4x/XML/13.4.4.37.js rename : js/tests/e4x/XML/13.4.4.38.js => js/src/tests/e4x/XML/13.4.4.38.js rename : js/tests/e4x/XML/13.4.4.39.js => js/src/tests/e4x/XML/13.4.4.39.js rename : js/tests/e4x/XML/13.4.4.4.js => js/src/tests/e4x/XML/13.4.4.4.js rename : js/tests/e4x/XML/13.4.4.40.js => js/src/tests/e4x/XML/13.4.4.40.js rename : js/tests/e4x/XML/13.4.4.5.js => js/src/tests/e4x/XML/13.4.4.5.js rename : js/tests/e4x/XML/13.4.4.6.js => js/src/tests/e4x/XML/13.4.4.6.js rename : js/tests/e4x/XML/13.4.4.7.js => js/src/tests/e4x/XML/13.4.4.7.js rename : js/tests/e4x/XML/13.4.4.8.js => js/src/tests/e4x/XML/13.4.4.8.js rename : js/tests/e4x/XML/13.4.4.9.js => js/src/tests/e4x/XML/13.4.4.9.js rename : js/tests/e4x/XML/browser.js => js/src/tests/e4x/XML/browser.js rename : js/tests/e4x/XML/regress-291930.js => js/src/tests/e4x/XML/regress-291930.js rename : js/tests/e4x/XML/regress-324422-1.js => js/src/tests/e4x/XML/regress-324422-1.js rename : js/tests/e4x/XML/regress-324422-2.js => js/src/tests/e4x/XML/regress-324422-2.js rename : js/tests/e4x/XML/regress-324688.js => js/src/tests/e4x/XML/regress-324688.js rename : js/tests/e4x/XML/regress-336921.js => js/src/tests/e4x/XML/regress-336921.js rename : js/tests/e4x/XML/regress-376773.js => js/src/tests/e4x/XML/regress-376773.js rename : js/tests/e4x/XML/shell.js => js/src/tests/e4x/XML/shell.js rename : js/tests/e4x/XMLList/13.5.1.js => js/src/tests/e4x/XMLList/13.5.1.js rename : js/tests/e4x/XMLList/13.5.2.js => js/src/tests/e4x/XMLList/13.5.2.js rename : js/tests/e4x/XMLList/13.5.4.10.js => js/src/tests/e4x/XMLList/13.5.4.10.js rename : js/tests/e4x/XMLList/13.5.4.11.js => js/src/tests/e4x/XMLList/13.5.4.11.js rename : js/tests/e4x/XMLList/13.5.4.12.js => js/src/tests/e4x/XMLList/13.5.4.12.js rename : js/tests/e4x/XMLList/13.5.4.13.js => js/src/tests/e4x/XMLList/13.5.4.13.js rename : js/tests/e4x/XMLList/13.5.4.14.js => js/src/tests/e4x/XMLList/13.5.4.14.js rename : js/tests/e4x/XMLList/13.5.4.15.js => js/src/tests/e4x/XMLList/13.5.4.15.js rename : js/tests/e4x/XMLList/13.5.4.16.js => js/src/tests/e4x/XMLList/13.5.4.16.js rename : js/tests/e4x/XMLList/13.5.4.17.js => js/src/tests/e4x/XMLList/13.5.4.17.js rename : js/tests/e4x/XMLList/13.5.4.18.js => js/src/tests/e4x/XMLList/13.5.4.18.js rename : js/tests/e4x/XMLList/13.5.4.19.js => js/src/tests/e4x/XMLList/13.5.4.19.js rename : js/tests/e4x/XMLList/13.5.4.2.js => js/src/tests/e4x/XMLList/13.5.4.2.js rename : js/tests/e4x/XMLList/13.5.4.20.js => js/src/tests/e4x/XMLList/13.5.4.20.js rename : js/tests/e4x/XMLList/13.5.4.21.js => js/src/tests/e4x/XMLList/13.5.4.21.js rename : js/tests/e4x/XMLList/13.5.4.22.js => js/src/tests/e4x/XMLList/13.5.4.22.js rename : js/tests/e4x/XMLList/13.5.4.3.js => js/src/tests/e4x/XMLList/13.5.4.3.js rename : js/tests/e4x/XMLList/13.5.4.4.js => js/src/tests/e4x/XMLList/13.5.4.4.js rename : js/tests/e4x/XMLList/13.5.4.5.js => js/src/tests/e4x/XMLList/13.5.4.5.js rename : js/tests/e4x/XMLList/13.5.4.6.js => js/src/tests/e4x/XMLList/13.5.4.6.js rename : js/tests/e4x/XMLList/13.5.4.7.js => js/src/tests/e4x/XMLList/13.5.4.7.js rename : js/tests/e4x/XMLList/13.5.4.8.js => js/src/tests/e4x/XMLList/13.5.4.8.js rename : js/tests/e4x/XMLList/13.5.4.9.js => js/src/tests/e4x/XMLList/13.5.4.9.js rename : js/tests/e4x/XMLList/browser.js => js/src/tests/e4x/XMLList/browser.js rename : js/tests/e4x/XMLList/regress-373072.js => js/src/tests/e4x/XMLList/regress-373072.js rename : js/tests/e4x/XMLList/shell.js => js/src/tests/e4x/XMLList/shell.js rename : js/tests/e4x/browser.js => js/src/tests/e4x/browser.js rename : js/tests/e4x/decompilation/browser.js => js/src/tests/e4x/decompilation/browser.js rename : js/tests/e4x/decompilation/decompile-xml-escapes.js => js/src/tests/e4x/decompilation/decompile-xml-escapes.js rename : js/tests/e4x/decompilation/regress-349814.js => js/src/tests/e4x/decompilation/regress-349814.js rename : js/tests/e4x/decompilation/regress-349815.js => js/src/tests/e4x/decompilation/regress-349815.js rename : js/tests/e4x/decompilation/regress-349822.js => js/src/tests/e4x/decompilation/regress-349822.js rename : js/tests/e4x/decompilation/regress-349956.js => js/src/tests/e4x/decompilation/regress-349956.js rename : js/tests/e4x/decompilation/regress-350226.js => js/src/tests/e4x/decompilation/regress-350226.js rename : js/tests/e4x/decompilation/regress-350531.js => js/src/tests/e4x/decompilation/regress-350531.js rename : js/tests/e4x/decompilation/regress-351706.js => js/src/tests/e4x/decompilation/regress-351706.js rename : js/tests/e4x/decompilation/regress-351988.js => js/src/tests/e4x/decompilation/regress-351988.js rename : js/tests/e4x/decompilation/regress-352013.js => js/src/tests/e4x/decompilation/regress-352013.js rename : js/tests/e4x/decompilation/regress-352459.js => js/src/tests/e4x/decompilation/regress-352459.js rename : js/tests/e4x/decompilation/regress-352649.js => js/src/tests/e4x/decompilation/regress-352649.js rename : js/tests/e4x/decompilation/regress-352789.js => js/src/tests/e4x/decompilation/regress-352789.js rename : js/tests/e4x/decompilation/regress-355101.js => js/src/tests/e4x/decompilation/regress-355101.js rename : js/tests/e4x/decompilation/regress-355474-01.js => js/src/tests/e4x/decompilation/regress-355474-01.js rename : js/tests/e4x/decompilation/regress-373678.js => js/src/tests/e4x/decompilation/regress-373678.js rename : js/tests/e4x/decompilation/regress-429249.js => js/src/tests/e4x/decompilation/regress-429249.js rename : js/tests/e4x/decompilation/regress-461233.js => js/src/tests/e4x/decompilation/regress-461233.js rename : js/tests/e4x/decompilation/shell.js => js/src/tests/e4x/decompilation/shell.js rename : js/tests/e4x/extensions/browser.js => js/src/tests/e4x/extensions/browser.js rename : js/tests/e4x/extensions/regress-305335.js => js/src/tests/e4x/extensions/regress-305335.js rename : js/tests/e4x/extensions/regress-312196.js => js/src/tests/e4x/extensions/regress-312196.js rename : js/tests/e4x/extensions/regress-313080.js => js/src/tests/e4x/extensions/regress-313080.js rename : js/tests/e4x/extensions/regress-321547.js => js/src/tests/e4x/extensions/regress-321547.js rename : js/tests/e4x/extensions/regress-327534.js => js/src/tests/e4x/extensions/regress-327534.js rename : js/tests/e4x/extensions/regress-327897.js => js/src/tests/e4x/extensions/regress-327897.js rename : js/tests/e4x/extensions/regress-337226.js => js/src/tests/e4x/extensions/regress-337226.js rename : js/tests/e4x/extensions/regress-352846-01.js => js/src/tests/e4x/extensions/regress-352846-01.js rename : js/tests/e4x/extensions/regress-352846-02.js => js/src/tests/e4x/extensions/regress-352846-02.js rename : js/tests/e4x/extensions/regress-352846-03.js => js/src/tests/e4x/extensions/regress-352846-03.js rename : js/tests/e4x/extensions/regress-353165.js => js/src/tests/e4x/extensions/regress-353165.js rename : js/tests/e4x/extensions/regress-354145-06.js => js/src/tests/e4x/extensions/regress-354145-06.js rename : js/tests/e4x/extensions/regress-354151-01.js => js/src/tests/e4x/extensions/regress-354151-01.js rename : js/tests/e4x/extensions/regress-354151-02.js => js/src/tests/e4x/extensions/regress-354151-02.js rename : js/tests/e4x/extensions/regress-374025.js => js/src/tests/e4x/extensions/regress-374025.js rename : js/tests/e4x/extensions/regress-374163.js => js/src/tests/e4x/extensions/regress-374163.js rename : js/tests/e4x/extensions/regress-410192.js => js/src/tests/e4x/extensions/regress-410192.js rename : js/tests/e4x/extensions/regress-450871-01.js => js/src/tests/e4x/extensions/regress-450871-01.js rename : js/tests/e4x/extensions/regress-450871-02.js => js/src/tests/e4x/extensions/regress-450871-02.js rename : js/tests/e4x/extensions/regress-462734-01.js => js/src/tests/e4x/extensions/regress-462734-01.js rename : js/tests/e4x/extensions/shell.js => js/src/tests/e4x/extensions/shell.js rename : js/tests/e4x/shell.js => js/src/tests/e4x/shell.js rename : js/tests/e4x/template.js => js/src/tests/e4x/template.js rename : js/tests/ecma/Array/15.4-1.js => js/src/tests/ecma/Array/15.4-1.js rename : js/tests/ecma/Array/15.4-2.js => js/src/tests/ecma/Array/15.4-2.js rename : js/tests/ecma/Array/15.4.1.1.js => js/src/tests/ecma/Array/15.4.1.1.js rename : js/tests/ecma/Array/15.4.1.2.js => js/src/tests/ecma/Array/15.4.1.2.js rename : js/tests/ecma/Array/15.4.1.3.js => js/src/tests/ecma/Array/15.4.1.3.js rename : js/tests/ecma/Array/15.4.1.js => js/src/tests/ecma/Array/15.4.1.js rename : js/tests/ecma/Array/15.4.2.1-1.js => js/src/tests/ecma/Array/15.4.2.1-1.js rename : js/tests/ecma/Array/15.4.2.1-2.js => js/src/tests/ecma/Array/15.4.2.1-2.js rename : js/tests/ecma/Array/15.4.2.1-3.js => js/src/tests/ecma/Array/15.4.2.1-3.js rename : js/tests/ecma/Array/15.4.2.2-1.js => js/src/tests/ecma/Array/15.4.2.2-1.js rename : js/tests/ecma/Array/15.4.2.2-2.js => js/src/tests/ecma/Array/15.4.2.2-2.js rename : js/tests/ecma/Array/15.4.2.3.js => js/src/tests/ecma/Array/15.4.2.3.js rename : js/tests/ecma/Array/15.4.3.1-2.js => js/src/tests/ecma/Array/15.4.3.1-2.js rename : js/tests/ecma/Array/15.4.3.2.js => js/src/tests/ecma/Array/15.4.3.2.js rename : js/tests/ecma/Array/15.4.4.1.js => js/src/tests/ecma/Array/15.4.4.1.js rename : js/tests/ecma/Array/15.4.4.2.js => js/src/tests/ecma/Array/15.4.4.2.js rename : js/tests/ecma/Array/15.4.4.3-1.js => js/src/tests/ecma/Array/15.4.4.3-1.js rename : js/tests/ecma/Array/15.4.4.4-1.js => js/src/tests/ecma/Array/15.4.4.4-1.js rename : js/tests/ecma/Array/15.4.4.4-2.js => js/src/tests/ecma/Array/15.4.4.4-2.js rename : js/tests/ecma/Array/15.4.4.5-1.js => js/src/tests/ecma/Array/15.4.4.5-1.js rename : js/tests/ecma/Array/15.4.4.5-2.js => js/src/tests/ecma/Array/15.4.4.5-2.js rename : js/tests/ecma/Array/15.4.4.5-3.js => js/src/tests/ecma/Array/15.4.4.5-3.js rename : js/tests/ecma/Array/15.4.4.js => js/src/tests/ecma/Array/15.4.4.js rename : js/tests/ecma/Array/15.4.5.1-1.js => js/src/tests/ecma/Array/15.4.5.1-1.js rename : js/tests/ecma/Array/15.4.5.1-2.js => js/src/tests/ecma/Array/15.4.5.1-2.js rename : js/tests/ecma/Array/15.4.5.2-1.js => js/src/tests/ecma/Array/15.4.5.2-1.js rename : js/tests/ecma/Array/15.4.5.2-2.js => js/src/tests/ecma/Array/15.4.5.2-2.js rename : js/tests/ecma/Array/browser.js => js/src/tests/ecma/Array/browser.js rename : js/tests/ecma/Array/shell.js => js/src/tests/ecma/Array/shell.js rename : js/tests/ecma/Boolean/15.6.1.js => js/src/tests/ecma/Boolean/15.6.1.js rename : js/tests/ecma/Boolean/15.6.2.js => js/src/tests/ecma/Boolean/15.6.2.js rename : js/tests/ecma/Boolean/15.6.3.1-1.js => js/src/tests/ecma/Boolean/15.6.3.1-1.js rename : js/tests/ecma/Boolean/15.6.3.1-2.js => js/src/tests/ecma/Boolean/15.6.3.1-2.js rename : js/tests/ecma/Boolean/15.6.3.1-3.js => js/src/tests/ecma/Boolean/15.6.3.1-3.js rename : js/tests/ecma/Boolean/15.6.3.1-4.js => js/src/tests/ecma/Boolean/15.6.3.1-4.js rename : js/tests/ecma/Boolean/15.6.3.1.js => js/src/tests/ecma/Boolean/15.6.3.1.js rename : js/tests/ecma/Boolean/15.6.4-1.js => js/src/tests/ecma/Boolean/15.6.4-1.js rename : js/tests/ecma/Boolean/15.6.4.1.js => js/src/tests/ecma/Boolean/15.6.4.1.js rename : js/tests/ecma/Boolean/15.6.4.2-1.js => js/src/tests/ecma/Boolean/15.6.4.2-1.js rename : js/tests/ecma/Boolean/15.6.4.2-2.js => js/src/tests/ecma/Boolean/15.6.4.2-2.js rename : js/tests/ecma/Boolean/15.6.4.2-3.js => js/src/tests/ecma/Boolean/15.6.4.2-3.js rename : js/tests/ecma/Boolean/15.6.4.2-4-n.js => js/src/tests/ecma/Boolean/15.6.4.2-4-n.js rename : js/tests/ecma/Boolean/15.6.4.3-1.js => js/src/tests/ecma/Boolean/15.6.4.3-1.js rename : js/tests/ecma/Boolean/15.6.4.3-2.js => js/src/tests/ecma/Boolean/15.6.4.3-2.js rename : js/tests/ecma/Boolean/15.6.4.3-3.js => js/src/tests/ecma/Boolean/15.6.4.3-3.js rename : js/tests/ecma/Boolean/15.6.4.3-4-n.js => js/src/tests/ecma/Boolean/15.6.4.3-4-n.js rename : js/tests/ecma/Boolean/15.6.4.3.js => js/src/tests/ecma/Boolean/15.6.4.3.js rename : js/tests/ecma/Boolean/15.6.4.js => js/src/tests/ecma/Boolean/15.6.4.js rename : js/tests/ecma/Boolean/browser.js => js/src/tests/ecma/Boolean/browser.js rename : js/tests/ecma/Boolean/shell.js => js/src/tests/ecma/Boolean/shell.js rename : js/tests/ecma/Date/15.9.1.1-1.js => js/src/tests/ecma/Date/15.9.1.1-1.js rename : js/tests/ecma/Date/15.9.1.1-2.js => js/src/tests/ecma/Date/15.9.1.1-2.js rename : js/tests/ecma/Date/15.9.1.13-1.js => js/src/tests/ecma/Date/15.9.1.13-1.js rename : js/tests/ecma/Date/15.9.2.1.js => js/src/tests/ecma/Date/15.9.2.1.js rename : js/tests/ecma/Date/15.9.2.2-1.js => js/src/tests/ecma/Date/15.9.2.2-1.js rename : js/tests/ecma/Date/15.9.2.2-2.js => js/src/tests/ecma/Date/15.9.2.2-2.js rename : js/tests/ecma/Date/15.9.2.2-3.js => js/src/tests/ecma/Date/15.9.2.2-3.js rename : js/tests/ecma/Date/15.9.2.2-4.js => js/src/tests/ecma/Date/15.9.2.2-4.js rename : js/tests/ecma/Date/15.9.2.2-5.js => js/src/tests/ecma/Date/15.9.2.2-5.js rename : js/tests/ecma/Date/15.9.2.2-6.js => js/src/tests/ecma/Date/15.9.2.2-6.js rename : js/tests/ecma/Date/15.9.3.1-1.js => js/src/tests/ecma/Date/15.9.3.1-1.js rename : js/tests/ecma/Date/15.9.3.1-2.js => js/src/tests/ecma/Date/15.9.3.1-2.js rename : js/tests/ecma/Date/15.9.3.1-3.js => js/src/tests/ecma/Date/15.9.3.1-3.js rename : js/tests/ecma/Date/15.9.3.1-4.js => js/src/tests/ecma/Date/15.9.3.1-4.js rename : js/tests/ecma/Date/15.9.3.1-5.js => js/src/tests/ecma/Date/15.9.3.1-5.js rename : js/tests/ecma/Date/15.9.3.2-1.js => js/src/tests/ecma/Date/15.9.3.2-1.js rename : js/tests/ecma/Date/15.9.3.2-2.js => js/src/tests/ecma/Date/15.9.3.2-2.js rename : js/tests/ecma/Date/15.9.3.2-3.js => js/src/tests/ecma/Date/15.9.3.2-3.js rename : js/tests/ecma/Date/15.9.3.2-4.js => js/src/tests/ecma/Date/15.9.3.2-4.js rename : js/tests/ecma/Date/15.9.3.2-5.js => js/src/tests/ecma/Date/15.9.3.2-5.js rename : js/tests/ecma/Date/15.9.3.8-1.js => js/src/tests/ecma/Date/15.9.3.8-1.js rename : js/tests/ecma/Date/15.9.3.8-2.js => js/src/tests/ecma/Date/15.9.3.8-2.js rename : js/tests/ecma/Date/15.9.3.8-3.js => js/src/tests/ecma/Date/15.9.3.8-3.js rename : js/tests/ecma/Date/15.9.3.8-4.js => js/src/tests/ecma/Date/15.9.3.8-4.js rename : js/tests/ecma/Date/15.9.3.8-5.js => js/src/tests/ecma/Date/15.9.3.8-5.js rename : js/tests/ecma/Date/15.9.4.2-1.js => js/src/tests/ecma/Date/15.9.4.2-1.js rename : js/tests/ecma/Date/15.9.4.2.js => js/src/tests/ecma/Date/15.9.4.2.js rename : js/tests/ecma/Date/15.9.4.3.js => js/src/tests/ecma/Date/15.9.4.3.js rename : js/tests/ecma/Date/15.9.5.1.js => js/src/tests/ecma/Date/15.9.5.1.js rename : js/tests/ecma/Date/15.9.5.10-1.js => js/src/tests/ecma/Date/15.9.5.10-1.js rename : js/tests/ecma/Date/15.9.5.10-10.js => js/src/tests/ecma/Date/15.9.5.10-10.js rename : js/tests/ecma/Date/15.9.5.10-11.js => js/src/tests/ecma/Date/15.9.5.10-11.js rename : js/tests/ecma/Date/15.9.5.10-12.js => js/src/tests/ecma/Date/15.9.5.10-12.js rename : js/tests/ecma/Date/15.9.5.10-13.js => js/src/tests/ecma/Date/15.9.5.10-13.js rename : js/tests/ecma/Date/15.9.5.10-2.js => js/src/tests/ecma/Date/15.9.5.10-2.js rename : js/tests/ecma/Date/15.9.5.10-3.js => js/src/tests/ecma/Date/15.9.5.10-3.js rename : js/tests/ecma/Date/15.9.5.10-4.js => js/src/tests/ecma/Date/15.9.5.10-4.js rename : js/tests/ecma/Date/15.9.5.10-5.js => js/src/tests/ecma/Date/15.9.5.10-5.js rename : js/tests/ecma/Date/15.9.5.10-6.js => js/src/tests/ecma/Date/15.9.5.10-6.js rename : js/tests/ecma/Date/15.9.5.10-7.js => js/src/tests/ecma/Date/15.9.5.10-7.js rename : js/tests/ecma/Date/15.9.5.10-8.js => js/src/tests/ecma/Date/15.9.5.10-8.js rename : js/tests/ecma/Date/15.9.5.10-9.js => js/src/tests/ecma/Date/15.9.5.10-9.js rename : js/tests/ecma/Date/15.9.5.11-1.js => js/src/tests/ecma/Date/15.9.5.11-1.js rename : js/tests/ecma/Date/15.9.5.11-2.js => js/src/tests/ecma/Date/15.9.5.11-2.js rename : js/tests/ecma/Date/15.9.5.11-3.js => js/src/tests/ecma/Date/15.9.5.11-3.js rename : js/tests/ecma/Date/15.9.5.11-4.js => js/src/tests/ecma/Date/15.9.5.11-4.js rename : js/tests/ecma/Date/15.9.5.11-5.js => js/src/tests/ecma/Date/15.9.5.11-5.js rename : js/tests/ecma/Date/15.9.5.11-6.js => js/src/tests/ecma/Date/15.9.5.11-6.js rename : js/tests/ecma/Date/15.9.5.11-7.js => js/src/tests/ecma/Date/15.9.5.11-7.js rename : js/tests/ecma/Date/15.9.5.12-1.js => js/src/tests/ecma/Date/15.9.5.12-1.js rename : js/tests/ecma/Date/15.9.5.12-2.js => js/src/tests/ecma/Date/15.9.5.12-2.js rename : js/tests/ecma/Date/15.9.5.12-3.js => js/src/tests/ecma/Date/15.9.5.12-3.js rename : js/tests/ecma/Date/15.9.5.12-4.js => js/src/tests/ecma/Date/15.9.5.12-4.js rename : js/tests/ecma/Date/15.9.5.12-5.js => js/src/tests/ecma/Date/15.9.5.12-5.js rename : js/tests/ecma/Date/15.9.5.12-6.js => js/src/tests/ecma/Date/15.9.5.12-6.js rename : js/tests/ecma/Date/15.9.5.12-7.js => js/src/tests/ecma/Date/15.9.5.12-7.js rename : js/tests/ecma/Date/15.9.5.12-8.js => js/src/tests/ecma/Date/15.9.5.12-8.js rename : js/tests/ecma/Date/15.9.5.13-1.js => js/src/tests/ecma/Date/15.9.5.13-1.js rename : js/tests/ecma/Date/15.9.5.13-2.js => js/src/tests/ecma/Date/15.9.5.13-2.js rename : js/tests/ecma/Date/15.9.5.13-3.js => js/src/tests/ecma/Date/15.9.5.13-3.js rename : js/tests/ecma/Date/15.9.5.13-4.js => js/src/tests/ecma/Date/15.9.5.13-4.js rename : js/tests/ecma/Date/15.9.5.13-5.js => js/src/tests/ecma/Date/15.9.5.13-5.js rename : js/tests/ecma/Date/15.9.5.13-6.js => js/src/tests/ecma/Date/15.9.5.13-6.js rename : js/tests/ecma/Date/15.9.5.13-7.js => js/src/tests/ecma/Date/15.9.5.13-7.js rename : js/tests/ecma/Date/15.9.5.13-8.js => js/src/tests/ecma/Date/15.9.5.13-8.js rename : js/tests/ecma/Date/15.9.5.14.js => js/src/tests/ecma/Date/15.9.5.14.js rename : js/tests/ecma/Date/15.9.5.15.js => js/src/tests/ecma/Date/15.9.5.15.js rename : js/tests/ecma/Date/15.9.5.16.js => js/src/tests/ecma/Date/15.9.5.16.js rename : js/tests/ecma/Date/15.9.5.17.js => js/src/tests/ecma/Date/15.9.5.17.js rename : js/tests/ecma/Date/15.9.5.18.js => js/src/tests/ecma/Date/15.9.5.18.js rename : js/tests/ecma/Date/15.9.5.19.js => js/src/tests/ecma/Date/15.9.5.19.js rename : js/tests/ecma/Date/15.9.5.2-1.js => js/src/tests/ecma/Date/15.9.5.2-1.js rename : js/tests/ecma/Date/15.9.5.2-2-n.js => js/src/tests/ecma/Date/15.9.5.2-2-n.js rename : js/tests/ecma/Date/15.9.5.2.js => js/src/tests/ecma/Date/15.9.5.2.js rename : js/tests/ecma/Date/15.9.5.20.js => js/src/tests/ecma/Date/15.9.5.20.js rename : js/tests/ecma/Date/15.9.5.21-1.js => js/src/tests/ecma/Date/15.9.5.21-1.js rename : js/tests/ecma/Date/15.9.5.21-2.js => js/src/tests/ecma/Date/15.9.5.21-2.js rename : js/tests/ecma/Date/15.9.5.21-3.js => js/src/tests/ecma/Date/15.9.5.21-3.js rename : js/tests/ecma/Date/15.9.5.21-4.js => js/src/tests/ecma/Date/15.9.5.21-4.js rename : js/tests/ecma/Date/15.9.5.21-5.js => js/src/tests/ecma/Date/15.9.5.21-5.js rename : js/tests/ecma/Date/15.9.5.21-6.js => js/src/tests/ecma/Date/15.9.5.21-6.js rename : js/tests/ecma/Date/15.9.5.21-7.js => js/src/tests/ecma/Date/15.9.5.21-7.js rename : js/tests/ecma/Date/15.9.5.21-8.js => js/src/tests/ecma/Date/15.9.5.21-8.js rename : js/tests/ecma/Date/15.9.5.22-1.js => js/src/tests/ecma/Date/15.9.5.22-1.js rename : js/tests/ecma/Date/15.9.5.22-2.js => js/src/tests/ecma/Date/15.9.5.22-2.js rename : js/tests/ecma/Date/15.9.5.22-3.js => js/src/tests/ecma/Date/15.9.5.22-3.js rename : js/tests/ecma/Date/15.9.5.22-4.js => js/src/tests/ecma/Date/15.9.5.22-4.js rename : js/tests/ecma/Date/15.9.5.22-5.js => js/src/tests/ecma/Date/15.9.5.22-5.js rename : js/tests/ecma/Date/15.9.5.22-6.js => js/src/tests/ecma/Date/15.9.5.22-6.js rename : js/tests/ecma/Date/15.9.5.22-7.js => js/src/tests/ecma/Date/15.9.5.22-7.js rename : js/tests/ecma/Date/15.9.5.22-8.js => js/src/tests/ecma/Date/15.9.5.22-8.js rename : js/tests/ecma/Date/15.9.5.23-1.js => js/src/tests/ecma/Date/15.9.5.23-1.js rename : js/tests/ecma/Date/15.9.5.23-10.js => js/src/tests/ecma/Date/15.9.5.23-10.js rename : js/tests/ecma/Date/15.9.5.23-11.js => js/src/tests/ecma/Date/15.9.5.23-11.js rename : js/tests/ecma/Date/15.9.5.23-12.js => js/src/tests/ecma/Date/15.9.5.23-12.js rename : js/tests/ecma/Date/15.9.5.23-13.js => js/src/tests/ecma/Date/15.9.5.23-13.js rename : js/tests/ecma/Date/15.9.5.23-14.js => js/src/tests/ecma/Date/15.9.5.23-14.js rename : js/tests/ecma/Date/15.9.5.23-15.js => js/src/tests/ecma/Date/15.9.5.23-15.js rename : js/tests/ecma/Date/15.9.5.23-16.js => js/src/tests/ecma/Date/15.9.5.23-16.js rename : js/tests/ecma/Date/15.9.5.23-17.js => js/src/tests/ecma/Date/15.9.5.23-17.js rename : js/tests/ecma/Date/15.9.5.23-18.js => js/src/tests/ecma/Date/15.9.5.23-18.js rename : js/tests/ecma/Date/15.9.5.23-2.js => js/src/tests/ecma/Date/15.9.5.23-2.js rename : js/tests/ecma/Date/15.9.5.23-3-n.js => js/src/tests/ecma/Date/15.9.5.23-3-n.js rename : js/tests/ecma/Date/15.9.5.23-4.js => js/src/tests/ecma/Date/15.9.5.23-4.js rename : js/tests/ecma/Date/15.9.5.23-5.js => js/src/tests/ecma/Date/15.9.5.23-5.js rename : js/tests/ecma/Date/15.9.5.23-6.js => js/src/tests/ecma/Date/15.9.5.23-6.js rename : js/tests/ecma/Date/15.9.5.23-7.js => js/src/tests/ecma/Date/15.9.5.23-7.js rename : js/tests/ecma/Date/15.9.5.23-8.js => js/src/tests/ecma/Date/15.9.5.23-8.js rename : js/tests/ecma/Date/15.9.5.23-9.js => js/src/tests/ecma/Date/15.9.5.23-9.js rename : js/tests/ecma/Date/15.9.5.24-1.js => js/src/tests/ecma/Date/15.9.5.24-1.js rename : js/tests/ecma/Date/15.9.5.24-2.js => js/src/tests/ecma/Date/15.9.5.24-2.js rename : js/tests/ecma/Date/15.9.5.24-3.js => js/src/tests/ecma/Date/15.9.5.24-3.js rename : js/tests/ecma/Date/15.9.5.24-4.js => js/src/tests/ecma/Date/15.9.5.24-4.js rename : js/tests/ecma/Date/15.9.5.24-5.js => js/src/tests/ecma/Date/15.9.5.24-5.js rename : js/tests/ecma/Date/15.9.5.24-6.js => js/src/tests/ecma/Date/15.9.5.24-6.js rename : js/tests/ecma/Date/15.9.5.24-7.js => js/src/tests/ecma/Date/15.9.5.24-7.js rename : js/tests/ecma/Date/15.9.5.24-8.js => js/src/tests/ecma/Date/15.9.5.24-8.js rename : js/tests/ecma/Date/15.9.5.25-1.js => js/src/tests/ecma/Date/15.9.5.25-1.js rename : js/tests/ecma/Date/15.9.5.26-1.js => js/src/tests/ecma/Date/15.9.5.26-1.js rename : js/tests/ecma/Date/15.9.5.27-1.js => js/src/tests/ecma/Date/15.9.5.27-1.js rename : js/tests/ecma/Date/15.9.5.28-1.js => js/src/tests/ecma/Date/15.9.5.28-1.js rename : js/tests/ecma/Date/15.9.5.29-1.js => js/src/tests/ecma/Date/15.9.5.29-1.js rename : js/tests/ecma/Date/15.9.5.3-1-n.js => js/src/tests/ecma/Date/15.9.5.3-1-n.js rename : js/tests/ecma/Date/15.9.5.3-2.js => js/src/tests/ecma/Date/15.9.5.3-2.js rename : js/tests/ecma/Date/15.9.5.30-1.js => js/src/tests/ecma/Date/15.9.5.30-1.js rename : js/tests/ecma/Date/15.9.5.31-1.js => js/src/tests/ecma/Date/15.9.5.31-1.js rename : js/tests/ecma/Date/15.9.5.32-1.js => js/src/tests/ecma/Date/15.9.5.32-1.js rename : js/tests/ecma/Date/15.9.5.33-1.js => js/src/tests/ecma/Date/15.9.5.33-1.js rename : js/tests/ecma/Date/15.9.5.34-1.js => js/src/tests/ecma/Date/15.9.5.34-1.js rename : js/tests/ecma/Date/15.9.5.35-1.js => js/src/tests/ecma/Date/15.9.5.35-1.js rename : js/tests/ecma/Date/15.9.5.36-1.js => js/src/tests/ecma/Date/15.9.5.36-1.js rename : js/tests/ecma/Date/15.9.5.36-2.js => js/src/tests/ecma/Date/15.9.5.36-2.js rename : js/tests/ecma/Date/15.9.5.36-3.js => js/src/tests/ecma/Date/15.9.5.36-3.js rename : js/tests/ecma/Date/15.9.5.36-4.js => js/src/tests/ecma/Date/15.9.5.36-4.js rename : js/tests/ecma/Date/15.9.5.36-5.js => js/src/tests/ecma/Date/15.9.5.36-5.js rename : js/tests/ecma/Date/15.9.5.36-6.js => js/src/tests/ecma/Date/15.9.5.36-6.js rename : js/tests/ecma/Date/15.9.5.36-7.js => js/src/tests/ecma/Date/15.9.5.36-7.js rename : js/tests/ecma/Date/15.9.5.37-1.js => js/src/tests/ecma/Date/15.9.5.37-1.js rename : js/tests/ecma/Date/15.9.5.37-2.js => js/src/tests/ecma/Date/15.9.5.37-2.js rename : js/tests/ecma/Date/15.9.5.37-3.js => js/src/tests/ecma/Date/15.9.5.37-3.js rename : js/tests/ecma/Date/15.9.5.37-4.js => js/src/tests/ecma/Date/15.9.5.37-4.js rename : js/tests/ecma/Date/15.9.5.37-5.js => js/src/tests/ecma/Date/15.9.5.37-5.js rename : js/tests/ecma/Date/15.9.5.4-1.js => js/src/tests/ecma/Date/15.9.5.4-1.js rename : js/tests/ecma/Date/15.9.5.4-2-n.js => js/src/tests/ecma/Date/15.9.5.4-2-n.js rename : js/tests/ecma/Date/15.9.5.5.js => js/src/tests/ecma/Date/15.9.5.5.js rename : js/tests/ecma/Date/15.9.5.6.js => js/src/tests/ecma/Date/15.9.5.6.js rename : js/tests/ecma/Date/15.9.5.7.js => js/src/tests/ecma/Date/15.9.5.7.js rename : js/tests/ecma/Date/15.9.5.8.js => js/src/tests/ecma/Date/15.9.5.8.js rename : js/tests/ecma/Date/15.9.5.9.js => js/src/tests/ecma/Date/15.9.5.9.js rename : js/tests/ecma/Date/15.9.5.js => js/src/tests/ecma/Date/15.9.5.js rename : js/tests/ecma/Date/browser.js => js/src/tests/ecma/Date/browser.js rename : js/tests/ecma/Date/shell.js => js/src/tests/ecma/Date/shell.js rename : js/tests/ecma/ExecutionContexts/10.1.3-1.js => js/src/tests/ecma/ExecutionContexts/10.1.3-1.js rename : js/tests/ecma/ExecutionContexts/10.1.3-2.js => js/src/tests/ecma/ExecutionContexts/10.1.3-2.js rename : js/tests/ecma/ExecutionContexts/10.1.3.js => js/src/tests/ecma/ExecutionContexts/10.1.3.js rename : js/tests/ecma/ExecutionContexts/10.1.4-1.js => js/src/tests/ecma/ExecutionContexts/10.1.4-1.js rename : js/tests/ecma/ExecutionContexts/10.1.4-10.js => js/src/tests/ecma/ExecutionContexts/10.1.4-10.js rename : js/tests/ecma/ExecutionContexts/10.1.4-2.js => js/src/tests/ecma/ExecutionContexts/10.1.4-2.js rename : js/tests/ecma/ExecutionContexts/10.1.4-3.js => js/src/tests/ecma/ExecutionContexts/10.1.4-3.js rename : js/tests/ecma/ExecutionContexts/10.1.4-4.js => js/src/tests/ecma/ExecutionContexts/10.1.4-4.js rename : js/tests/ecma/ExecutionContexts/10.1.4-5.js => js/src/tests/ecma/ExecutionContexts/10.1.4-5.js rename : js/tests/ecma/ExecutionContexts/10.1.4-6.js => js/src/tests/ecma/ExecutionContexts/10.1.4-6.js rename : js/tests/ecma/ExecutionContexts/10.1.4-7.js => js/src/tests/ecma/ExecutionContexts/10.1.4-7.js rename : js/tests/ecma/ExecutionContexts/10.1.4-8.js => js/src/tests/ecma/ExecutionContexts/10.1.4-8.js rename : js/tests/ecma/ExecutionContexts/10.1.5-1.js => js/src/tests/ecma/ExecutionContexts/10.1.5-1.js rename : js/tests/ecma/ExecutionContexts/10.1.5-2.js => js/src/tests/ecma/ExecutionContexts/10.1.5-2.js rename : js/tests/ecma/ExecutionContexts/10.1.5-3.js => js/src/tests/ecma/ExecutionContexts/10.1.5-3.js rename : js/tests/ecma/ExecutionContexts/10.1.5-4.js => js/src/tests/ecma/ExecutionContexts/10.1.5-4.js rename : js/tests/ecma/ExecutionContexts/10.1.8-2.js => js/src/tests/ecma/ExecutionContexts/10.1.8-2.js rename : js/tests/ecma/ExecutionContexts/10.1.8-3.js => js/src/tests/ecma/ExecutionContexts/10.1.8-3.js rename : js/tests/ecma/ExecutionContexts/10.2.1.js => js/src/tests/ecma/ExecutionContexts/10.2.1.js rename : js/tests/ecma/ExecutionContexts/10.2.2-1.js => js/src/tests/ecma/ExecutionContexts/10.2.2-1.js rename : js/tests/ecma/ExecutionContexts/10.2.2-2.js => js/src/tests/ecma/ExecutionContexts/10.2.2-2.js rename : js/tests/ecma/ExecutionContexts/10.2.3-1.js => js/src/tests/ecma/ExecutionContexts/10.2.3-1.js rename : js/tests/ecma/ExecutionContexts/10.2.3-2.js => js/src/tests/ecma/ExecutionContexts/10.2.3-2.js rename : js/tests/ecma/ExecutionContexts/browser.js => js/src/tests/ecma/ExecutionContexts/browser.js rename : js/tests/ecma/ExecutionContexts/shell.js => js/src/tests/ecma/ExecutionContexts/shell.js rename : js/tests/ecma/Expressions/11.1.1.js => js/src/tests/ecma/Expressions/11.1.1.js rename : js/tests/ecma/Expressions/11.10-1.js => js/src/tests/ecma/Expressions/11.10-1.js rename : js/tests/ecma/Expressions/11.10-2.js => js/src/tests/ecma/Expressions/11.10-2.js rename : js/tests/ecma/Expressions/11.10-3.js => js/src/tests/ecma/Expressions/11.10-3.js rename : js/tests/ecma/Expressions/11.12-1.js => js/src/tests/ecma/Expressions/11.12-1.js rename : js/tests/ecma/Expressions/11.12-2-n.js => js/src/tests/ecma/Expressions/11.12-2-n.js rename : js/tests/ecma/Expressions/11.12-3.js => js/src/tests/ecma/Expressions/11.12-3.js rename : js/tests/ecma/Expressions/11.12-4.js => js/src/tests/ecma/Expressions/11.12-4.js rename : js/tests/ecma/Expressions/11.13.1.js => js/src/tests/ecma/Expressions/11.13.1.js rename : js/tests/ecma/Expressions/11.13.2-1.js => js/src/tests/ecma/Expressions/11.13.2-1.js rename : js/tests/ecma/Expressions/11.13.2-2.js => js/src/tests/ecma/Expressions/11.13.2-2.js rename : js/tests/ecma/Expressions/11.13.2-3.js => js/src/tests/ecma/Expressions/11.13.2-3.js rename : js/tests/ecma/Expressions/11.13.2-4.js => js/src/tests/ecma/Expressions/11.13.2-4.js rename : js/tests/ecma/Expressions/11.13.2-5.js => js/src/tests/ecma/Expressions/11.13.2-5.js rename : js/tests/ecma/Expressions/11.13.js => js/src/tests/ecma/Expressions/11.13.js rename : js/tests/ecma/Expressions/11.14-1.js => js/src/tests/ecma/Expressions/11.14-1.js rename : js/tests/ecma/Expressions/11.2.1-1.js => js/src/tests/ecma/Expressions/11.2.1-1.js rename : js/tests/ecma/Expressions/11.2.1-2.js => js/src/tests/ecma/Expressions/11.2.1-2.js rename : js/tests/ecma/Expressions/11.2.1-3-n.js => js/src/tests/ecma/Expressions/11.2.1-3-n.js rename : js/tests/ecma/Expressions/11.2.1-4-n.js => js/src/tests/ecma/Expressions/11.2.1-4-n.js rename : js/tests/ecma/Expressions/11.2.1-5.js => js/src/tests/ecma/Expressions/11.2.1-5.js rename : js/tests/ecma/Expressions/11.2.2-1-n.js => js/src/tests/ecma/Expressions/11.2.2-1-n.js rename : js/tests/ecma/Expressions/11.2.2-1.js => js/src/tests/ecma/Expressions/11.2.2-1.js rename : js/tests/ecma/Expressions/11.2.2-10-n.js => js/src/tests/ecma/Expressions/11.2.2-10-n.js rename : js/tests/ecma/Expressions/11.2.2-11.js => js/src/tests/ecma/Expressions/11.2.2-11.js rename : js/tests/ecma/Expressions/11.2.2-2-n.js => js/src/tests/ecma/Expressions/11.2.2-2-n.js rename : js/tests/ecma/Expressions/11.2.2-3-n.js => js/src/tests/ecma/Expressions/11.2.2-3-n.js rename : js/tests/ecma/Expressions/11.2.2-4-n.js => js/src/tests/ecma/Expressions/11.2.2-4-n.js rename : js/tests/ecma/Expressions/11.2.2-5-n.js => js/src/tests/ecma/Expressions/11.2.2-5-n.js rename : js/tests/ecma/Expressions/11.2.2-6-n.js => js/src/tests/ecma/Expressions/11.2.2-6-n.js rename : js/tests/ecma/Expressions/11.2.2-7-n.js => js/src/tests/ecma/Expressions/11.2.2-7-n.js rename : js/tests/ecma/Expressions/11.2.2-8-n.js => js/src/tests/ecma/Expressions/11.2.2-8-n.js rename : js/tests/ecma/Expressions/11.2.2-9-n.js => js/src/tests/ecma/Expressions/11.2.2-9-n.js rename : js/tests/ecma/Expressions/11.2.3-1.js => js/src/tests/ecma/Expressions/11.2.3-1.js rename : js/tests/ecma/Expressions/11.2.3-2-n.js => js/src/tests/ecma/Expressions/11.2.3-2-n.js rename : js/tests/ecma/Expressions/11.2.3-3-n.js => js/src/tests/ecma/Expressions/11.2.3-3-n.js rename : js/tests/ecma/Expressions/11.2.3-4-n.js => js/src/tests/ecma/Expressions/11.2.3-4-n.js rename : js/tests/ecma/Expressions/11.2.3-5.js => js/src/tests/ecma/Expressions/11.2.3-5.js rename : js/tests/ecma/Expressions/11.3.1.js => js/src/tests/ecma/Expressions/11.3.1.js rename : js/tests/ecma/Expressions/11.3.2.js => js/src/tests/ecma/Expressions/11.3.2.js rename : js/tests/ecma/Expressions/11.4.1.js => js/src/tests/ecma/Expressions/11.4.1.js rename : js/tests/ecma/Expressions/11.4.2.js => js/src/tests/ecma/Expressions/11.4.2.js rename : js/tests/ecma/Expressions/11.4.3.js => js/src/tests/ecma/Expressions/11.4.3.js rename : js/tests/ecma/Expressions/11.4.4.js => js/src/tests/ecma/Expressions/11.4.4.js rename : js/tests/ecma/Expressions/11.4.5.js => js/src/tests/ecma/Expressions/11.4.5.js rename : js/tests/ecma/Expressions/11.4.6.js => js/src/tests/ecma/Expressions/11.4.6.js rename : js/tests/ecma/Expressions/11.4.7-01.js => js/src/tests/ecma/Expressions/11.4.7-01.js rename : js/tests/ecma/Expressions/11.4.7-02.js => js/src/tests/ecma/Expressions/11.4.7-02.js rename : js/tests/ecma/Expressions/11.4.8.js => js/src/tests/ecma/Expressions/11.4.8.js rename : js/tests/ecma/Expressions/11.4.9.js => js/src/tests/ecma/Expressions/11.4.9.js rename : js/tests/ecma/Expressions/11.5.1.js => js/src/tests/ecma/Expressions/11.5.1.js rename : js/tests/ecma/Expressions/11.5.2.js => js/src/tests/ecma/Expressions/11.5.2.js rename : js/tests/ecma/Expressions/11.5.3.js => js/src/tests/ecma/Expressions/11.5.3.js rename : js/tests/ecma/Expressions/11.6.1-1.js => js/src/tests/ecma/Expressions/11.6.1-1.js rename : js/tests/ecma/Expressions/11.6.1-2.js => js/src/tests/ecma/Expressions/11.6.1-2.js rename : js/tests/ecma/Expressions/11.6.1-3.js => js/src/tests/ecma/Expressions/11.6.1-3.js rename : js/tests/ecma/Expressions/11.6.2-1.js => js/src/tests/ecma/Expressions/11.6.2-1.js rename : js/tests/ecma/Expressions/11.6.3.js => js/src/tests/ecma/Expressions/11.6.3.js rename : js/tests/ecma/Expressions/11.7.1.js => js/src/tests/ecma/Expressions/11.7.1.js rename : js/tests/ecma/Expressions/11.7.2.js => js/src/tests/ecma/Expressions/11.7.2.js rename : js/tests/ecma/Expressions/11.7.3.js => js/src/tests/ecma/Expressions/11.7.3.js rename : js/tests/ecma/Expressions/11.8.1.js => js/src/tests/ecma/Expressions/11.8.1.js rename : js/tests/ecma/Expressions/11.8.2.js => js/src/tests/ecma/Expressions/11.8.2.js rename : js/tests/ecma/Expressions/11.8.3.js => js/src/tests/ecma/Expressions/11.8.3.js rename : js/tests/ecma/Expressions/11.8.4.js => js/src/tests/ecma/Expressions/11.8.4.js rename : js/tests/ecma/Expressions/11.9.1.js => js/src/tests/ecma/Expressions/11.9.1.js rename : js/tests/ecma/Expressions/11.9.2.js => js/src/tests/ecma/Expressions/11.9.2.js rename : js/tests/ecma/Expressions/11.9.3.js => js/src/tests/ecma/Expressions/11.9.3.js rename : js/tests/ecma/Expressions/browser.js => js/src/tests/ecma/Expressions/browser.js rename : js/tests/ecma/Expressions/shell.js => js/src/tests/ecma/Expressions/shell.js rename : js/tests/ecma/FunctionObjects/15.3.1.1-1.js => js/src/tests/ecma/FunctionObjects/15.3.1.1-1.js rename : js/tests/ecma/FunctionObjects/15.3.1.1-2.js => js/src/tests/ecma/FunctionObjects/15.3.1.1-2.js rename : js/tests/ecma/FunctionObjects/15.3.1.1-3.js => js/src/tests/ecma/FunctionObjects/15.3.1.1-3.js rename : js/tests/ecma/FunctionObjects/15.3.2.1-1.js => js/src/tests/ecma/FunctionObjects/15.3.2.1-1.js rename : js/tests/ecma/FunctionObjects/15.3.2.1-2.js => js/src/tests/ecma/FunctionObjects/15.3.2.1-2.js rename : js/tests/ecma/FunctionObjects/15.3.2.1-3.js => js/src/tests/ecma/FunctionObjects/15.3.2.1-3.js rename : js/tests/ecma/FunctionObjects/15.3.3.1-2.js => js/src/tests/ecma/FunctionObjects/15.3.3.1-2.js rename : js/tests/ecma/FunctionObjects/15.3.3.1-3.js => js/src/tests/ecma/FunctionObjects/15.3.3.1-3.js rename : js/tests/ecma/FunctionObjects/15.3.3.1-4.js => js/src/tests/ecma/FunctionObjects/15.3.3.1-4.js rename : js/tests/ecma/FunctionObjects/15.3.3.2.js => js/src/tests/ecma/FunctionObjects/15.3.3.2.js rename : js/tests/ecma/FunctionObjects/15.3.4-1.js => js/src/tests/ecma/FunctionObjects/15.3.4-1.js rename : js/tests/ecma/FunctionObjects/15.3.4.1.js => js/src/tests/ecma/FunctionObjects/15.3.4.1.js rename : js/tests/ecma/FunctionObjects/15.3.4.js => js/src/tests/ecma/FunctionObjects/15.3.4.js rename : js/tests/ecma/FunctionObjects/15.3.5-1.js => js/src/tests/ecma/FunctionObjects/15.3.5-1.js rename : js/tests/ecma/FunctionObjects/15.3.5-2.js => js/src/tests/ecma/FunctionObjects/15.3.5-2.js rename : js/tests/ecma/FunctionObjects/15.3.5.1.js => js/src/tests/ecma/FunctionObjects/15.3.5.1.js rename : js/tests/ecma/FunctionObjects/15.3.5.3.js => js/src/tests/ecma/FunctionObjects/15.3.5.3.js rename : js/tests/ecma/FunctionObjects/browser.js => js/src/tests/ecma/FunctionObjects/browser.js rename : js/tests/ecma/FunctionObjects/shell.js => js/src/tests/ecma/FunctionObjects/shell.js rename : js/tests/ecma/GlobalObject/15.1-1-n.js => js/src/tests/ecma/GlobalObject/15.1-1-n.js rename : js/tests/ecma/GlobalObject/15.1-2-n.js => js/src/tests/ecma/GlobalObject/15.1-2-n.js rename : js/tests/ecma/GlobalObject/15.1.1.1.js => js/src/tests/ecma/GlobalObject/15.1.1.1.js rename : js/tests/ecma/GlobalObject/15.1.1.2.js => js/src/tests/ecma/GlobalObject/15.1.1.2.js rename : js/tests/ecma/GlobalObject/15.1.2.1-2.js => js/src/tests/ecma/GlobalObject/15.1.2.1-2.js rename : js/tests/ecma/GlobalObject/15.1.2.2-1.js => js/src/tests/ecma/GlobalObject/15.1.2.2-1.js rename : js/tests/ecma/GlobalObject/15.1.2.2-2.js => js/src/tests/ecma/GlobalObject/15.1.2.2-2.js rename : js/tests/ecma/GlobalObject/15.1.2.3-1.js => js/src/tests/ecma/GlobalObject/15.1.2.3-1.js rename : js/tests/ecma/GlobalObject/15.1.2.3-2.js => js/src/tests/ecma/GlobalObject/15.1.2.3-2.js rename : js/tests/ecma/GlobalObject/15.1.2.4.js => js/src/tests/ecma/GlobalObject/15.1.2.4.js rename : js/tests/ecma/GlobalObject/15.1.2.5-1.js => js/src/tests/ecma/GlobalObject/15.1.2.5-1.js rename : js/tests/ecma/GlobalObject/15.1.2.5-2.js => js/src/tests/ecma/GlobalObject/15.1.2.5-2.js rename : js/tests/ecma/GlobalObject/15.1.2.5-3.js => js/src/tests/ecma/GlobalObject/15.1.2.5-3.js rename : js/tests/ecma/GlobalObject/15.1.2.6.js => js/src/tests/ecma/GlobalObject/15.1.2.6.js rename : js/tests/ecma/GlobalObject/15.1.2.7.js => js/src/tests/ecma/GlobalObject/15.1.2.7.js rename : js/tests/ecma/GlobalObject/browser.js => js/src/tests/ecma/GlobalObject/browser.js rename : js/tests/ecma/GlobalObject/shell.js => js/src/tests/ecma/GlobalObject/shell.js rename : js/tests/ecma/LexicalConventions/7.1-1.js => js/src/tests/ecma/LexicalConventions/7.1-1.js rename : js/tests/ecma/LexicalConventions/7.1-2.js => js/src/tests/ecma/LexicalConventions/7.1-2.js rename : js/tests/ecma/LexicalConventions/7.1-3.js => js/src/tests/ecma/LexicalConventions/7.1-3.js rename : js/tests/ecma/LexicalConventions/7.2-1.js => js/src/tests/ecma/LexicalConventions/7.2-1.js rename : js/tests/ecma/LexicalConventions/7.2-2-n.js => js/src/tests/ecma/LexicalConventions/7.2-2-n.js rename : js/tests/ecma/LexicalConventions/7.2-3-n.js => js/src/tests/ecma/LexicalConventions/7.2-3-n.js rename : js/tests/ecma/LexicalConventions/7.2-4-n.js => js/src/tests/ecma/LexicalConventions/7.2-4-n.js rename : js/tests/ecma/LexicalConventions/7.2-5-n.js => js/src/tests/ecma/LexicalConventions/7.2-5-n.js rename : js/tests/ecma/LexicalConventions/7.2-6.js => js/src/tests/ecma/LexicalConventions/7.2-6.js rename : js/tests/ecma/LexicalConventions/7.3-1.js => js/src/tests/ecma/LexicalConventions/7.3-1.js rename : js/tests/ecma/LexicalConventions/7.3-10.js => js/src/tests/ecma/LexicalConventions/7.3-10.js rename : js/tests/ecma/LexicalConventions/7.3-11.js => js/src/tests/ecma/LexicalConventions/7.3-11.js rename : js/tests/ecma/LexicalConventions/7.3-12.js => js/src/tests/ecma/LexicalConventions/7.3-12.js rename : js/tests/ecma/LexicalConventions/7.3-13-n.js => js/src/tests/ecma/LexicalConventions/7.3-13-n.js rename : js/tests/ecma/LexicalConventions/7.3-2.js => js/src/tests/ecma/LexicalConventions/7.3-2.js rename : js/tests/ecma/LexicalConventions/7.3-3.js => js/src/tests/ecma/LexicalConventions/7.3-3.js rename : js/tests/ecma/LexicalConventions/7.3-4.js => js/src/tests/ecma/LexicalConventions/7.3-4.js rename : js/tests/ecma/LexicalConventions/7.3-5.js => js/src/tests/ecma/LexicalConventions/7.3-5.js rename : js/tests/ecma/LexicalConventions/7.3-6.js => js/src/tests/ecma/LexicalConventions/7.3-6.js rename : js/tests/ecma/LexicalConventions/7.3-7.js => js/src/tests/ecma/LexicalConventions/7.3-7.js rename : js/tests/ecma/LexicalConventions/7.3-8.js => js/src/tests/ecma/LexicalConventions/7.3-8.js rename : js/tests/ecma/LexicalConventions/7.3-9.js => js/src/tests/ecma/LexicalConventions/7.3-9.js rename : js/tests/ecma/LexicalConventions/7.4.1-1-n.js => js/src/tests/ecma/LexicalConventions/7.4.1-1-n.js rename : js/tests/ecma/LexicalConventions/7.4.1-2-n.js => js/src/tests/ecma/LexicalConventions/7.4.1-2-n.js rename : js/tests/ecma/LexicalConventions/7.4.1-3-n.js => js/src/tests/ecma/LexicalConventions/7.4.1-3-n.js rename : js/tests/ecma/LexicalConventions/7.4.2-1-n.js => js/src/tests/ecma/LexicalConventions/7.4.2-1-n.js rename : js/tests/ecma/LexicalConventions/7.4.2-10-n.js => js/src/tests/ecma/LexicalConventions/7.4.2-10-n.js rename : js/tests/ecma/LexicalConventions/7.4.2-11-n.js => js/src/tests/ecma/LexicalConventions/7.4.2-11-n.js rename : js/tests/ecma/LexicalConventions/7.4.2-12-n.js => js/src/tests/ecma/LexicalConventions/7.4.2-12-n.js rename : js/tests/ecma/LexicalConventions/7.4.2-13-n.js => js/src/tests/ecma/LexicalConventions/7.4.2-13-n.js rename : js/tests/ecma/LexicalConventions/7.4.2-14-n.js => js/src/tests/ecma/LexicalConventions/7.4.2-14-n.js rename : js/tests/ecma/LexicalConventions/7.4.2-15-n.js => js/src/tests/ecma/LexicalConventions/7.4.2-15-n.js rename : js/tests/ecma/LexicalConventions/7.4.2-16-n.js => js/src/tests/ecma/LexicalConventions/7.4.2-16-n.js rename : js/tests/ecma/LexicalConventions/7.4.2-2-n.js => js/src/tests/ecma/LexicalConventions/7.4.2-2-n.js rename : js/tests/ecma/LexicalConventions/7.4.2-3-n.js => js/src/tests/ecma/LexicalConventions/7.4.2-3-n.js rename : js/tests/ecma/LexicalConventions/7.4.2-4-n.js => js/src/tests/ecma/LexicalConventions/7.4.2-4-n.js rename : js/tests/ecma/LexicalConventions/7.4.2-5-n.js => js/src/tests/ecma/LexicalConventions/7.4.2-5-n.js rename : js/tests/ecma/LexicalConventions/7.4.2-6-n.js => js/src/tests/ecma/LexicalConventions/7.4.2-6-n.js rename : js/tests/ecma/LexicalConventions/7.4.2-7-n.js => js/src/tests/ecma/LexicalConventions/7.4.2-7-n.js rename : js/tests/ecma/LexicalConventions/7.4.2-8-n.js => js/src/tests/ecma/LexicalConventions/7.4.2-8-n.js rename : js/tests/ecma/LexicalConventions/7.4.2-9-n.js => js/src/tests/ecma/LexicalConventions/7.4.2-9-n.js rename : js/tests/ecma/LexicalConventions/7.4.3-1-n.js => js/src/tests/ecma/LexicalConventions/7.4.3-1-n.js rename : js/tests/ecma/LexicalConventions/7.4.3-10-n.js => js/src/tests/ecma/LexicalConventions/7.4.3-10-n.js rename : js/tests/ecma/LexicalConventions/7.4.3-11-n.js => js/src/tests/ecma/LexicalConventions/7.4.3-11-n.js rename : js/tests/ecma/LexicalConventions/7.4.3-12-n.js => js/src/tests/ecma/LexicalConventions/7.4.3-12-n.js rename : js/tests/ecma/LexicalConventions/7.4.3-13-n.js => js/src/tests/ecma/LexicalConventions/7.4.3-13-n.js rename : js/tests/ecma/LexicalConventions/7.4.3-14-n.js => js/src/tests/ecma/LexicalConventions/7.4.3-14-n.js rename : js/tests/ecma/LexicalConventions/7.4.3-15-n.js => js/src/tests/ecma/LexicalConventions/7.4.3-15-n.js rename : js/tests/ecma/LexicalConventions/7.4.3-16-n.js => js/src/tests/ecma/LexicalConventions/7.4.3-16-n.js rename : js/tests/ecma/LexicalConventions/7.4.3-2-n.js => js/src/tests/ecma/LexicalConventions/7.4.3-2-n.js rename : js/tests/ecma/LexicalConventions/7.4.3-3-n.js => js/src/tests/ecma/LexicalConventions/7.4.3-3-n.js rename : js/tests/ecma/LexicalConventions/7.4.3-4-n.js => js/src/tests/ecma/LexicalConventions/7.4.3-4-n.js rename : js/tests/ecma/LexicalConventions/7.4.3-5-n.js => js/src/tests/ecma/LexicalConventions/7.4.3-5-n.js rename : js/tests/ecma/LexicalConventions/7.4.3-6-n.js => js/src/tests/ecma/LexicalConventions/7.4.3-6-n.js rename : js/tests/ecma/LexicalConventions/7.4.3-7-n.js => js/src/tests/ecma/LexicalConventions/7.4.3-7-n.js rename : js/tests/ecma/LexicalConventions/7.4.3-8-n.js => js/src/tests/ecma/LexicalConventions/7.4.3-8-n.js rename : js/tests/ecma/LexicalConventions/7.4.3-9-n.js => js/src/tests/ecma/LexicalConventions/7.4.3-9-n.js rename : js/tests/ecma/LexicalConventions/7.5-1.js => js/src/tests/ecma/LexicalConventions/7.5-1.js rename : js/tests/ecma/LexicalConventions/7.5-10-n.js => js/src/tests/ecma/LexicalConventions/7.5-10-n.js rename : js/tests/ecma/LexicalConventions/7.5-2-n.js => js/src/tests/ecma/LexicalConventions/7.5-2-n.js rename : js/tests/ecma/LexicalConventions/7.5-3-n.js => js/src/tests/ecma/LexicalConventions/7.5-3-n.js rename : js/tests/ecma/LexicalConventions/7.5-4-n.js => js/src/tests/ecma/LexicalConventions/7.5-4-n.js rename : js/tests/ecma/LexicalConventions/7.5-5-n.js => js/src/tests/ecma/LexicalConventions/7.5-5-n.js rename : js/tests/ecma/LexicalConventions/7.5-6.js => js/src/tests/ecma/LexicalConventions/7.5-6.js rename : js/tests/ecma/LexicalConventions/7.5-7.js => js/src/tests/ecma/LexicalConventions/7.5-7.js rename : js/tests/ecma/LexicalConventions/7.5-8-n.js => js/src/tests/ecma/LexicalConventions/7.5-8-n.js rename : js/tests/ecma/LexicalConventions/7.5-9-n.js => js/src/tests/ecma/LexicalConventions/7.5-9-n.js rename : js/tests/ecma/LexicalConventions/7.6.js => js/src/tests/ecma/LexicalConventions/7.6.js rename : js/tests/ecma/LexicalConventions/7.7.1.js => js/src/tests/ecma/LexicalConventions/7.7.1.js rename : js/tests/ecma/LexicalConventions/7.7.2.js => js/src/tests/ecma/LexicalConventions/7.7.2.js rename : js/tests/ecma/LexicalConventions/7.7.3-1.js => js/src/tests/ecma/LexicalConventions/7.7.3-1.js rename : js/tests/ecma/LexicalConventions/7.7.3-2.js => js/src/tests/ecma/LexicalConventions/7.7.3-2.js rename : js/tests/ecma/LexicalConventions/7.7.3.js => js/src/tests/ecma/LexicalConventions/7.7.3.js rename : js/tests/ecma/LexicalConventions/7.7.4.js => js/src/tests/ecma/LexicalConventions/7.7.4.js rename : js/tests/ecma/LexicalConventions/7.8.2-n.js => js/src/tests/ecma/LexicalConventions/7.8.2-n.js rename : js/tests/ecma/LexicalConventions/browser.js => js/src/tests/ecma/LexicalConventions/browser.js rename : js/tests/ecma/LexicalConventions/shell.js => js/src/tests/ecma/LexicalConventions/shell.js rename : js/tests/ecma/Math/15.8-2-n.js => js/src/tests/ecma/Math/15.8-2-n.js rename : js/tests/ecma/Math/15.8-3-n.js => js/src/tests/ecma/Math/15.8-3-n.js rename : js/tests/ecma/Math/15.8.1.1-1.js => js/src/tests/ecma/Math/15.8.1.1-1.js rename : js/tests/ecma/Math/15.8.1.1-2.js => js/src/tests/ecma/Math/15.8.1.1-2.js rename : js/tests/ecma/Math/15.8.1.2-1.js => js/src/tests/ecma/Math/15.8.1.2-1.js rename : js/tests/ecma/Math/15.8.1.2-2.js => js/src/tests/ecma/Math/15.8.1.2-2.js rename : js/tests/ecma/Math/15.8.1.3-1.js => js/src/tests/ecma/Math/15.8.1.3-1.js rename : js/tests/ecma/Math/15.8.1.3-2.js => js/src/tests/ecma/Math/15.8.1.3-2.js rename : js/tests/ecma/Math/15.8.1.4-1.js => js/src/tests/ecma/Math/15.8.1.4-1.js rename : js/tests/ecma/Math/15.8.1.4-2.js => js/src/tests/ecma/Math/15.8.1.4-2.js rename : js/tests/ecma/Math/15.8.1.5-1.js => js/src/tests/ecma/Math/15.8.1.5-1.js rename : js/tests/ecma/Math/15.8.1.5-2.js => js/src/tests/ecma/Math/15.8.1.5-2.js rename : js/tests/ecma/Math/15.8.1.6-1.js => js/src/tests/ecma/Math/15.8.1.6-1.js rename : js/tests/ecma/Math/15.8.1.6-2.js => js/src/tests/ecma/Math/15.8.1.6-2.js rename : js/tests/ecma/Math/15.8.1.7-1.js => js/src/tests/ecma/Math/15.8.1.7-1.js rename : js/tests/ecma/Math/15.8.1.7-2.js => js/src/tests/ecma/Math/15.8.1.7-2.js rename : js/tests/ecma/Math/15.8.1.8-1.js => js/src/tests/ecma/Math/15.8.1.8-1.js rename : js/tests/ecma/Math/15.8.1.8-2.js => js/src/tests/ecma/Math/15.8.1.8-2.js rename : js/tests/ecma/Math/15.8.1.8-3.js => js/src/tests/ecma/Math/15.8.1.8-3.js rename : js/tests/ecma/Math/15.8.1.js => js/src/tests/ecma/Math/15.8.1.js rename : js/tests/ecma/Math/15.8.2.1.js => js/src/tests/ecma/Math/15.8.2.1.js rename : js/tests/ecma/Math/15.8.2.10.js => js/src/tests/ecma/Math/15.8.2.10.js rename : js/tests/ecma/Math/15.8.2.11.js => js/src/tests/ecma/Math/15.8.2.11.js rename : js/tests/ecma/Math/15.8.2.12.js => js/src/tests/ecma/Math/15.8.2.12.js rename : js/tests/ecma/Math/15.8.2.13.js => js/src/tests/ecma/Math/15.8.2.13.js rename : js/tests/ecma/Math/15.8.2.14.js => js/src/tests/ecma/Math/15.8.2.14.js rename : js/tests/ecma/Math/15.8.2.15.js => js/src/tests/ecma/Math/15.8.2.15.js rename : js/tests/ecma/Math/15.8.2.16.js => js/src/tests/ecma/Math/15.8.2.16.js rename : js/tests/ecma/Math/15.8.2.17.js => js/src/tests/ecma/Math/15.8.2.17.js rename : js/tests/ecma/Math/15.8.2.18.js => js/src/tests/ecma/Math/15.8.2.18.js rename : js/tests/ecma/Math/15.8.2.2.js => js/src/tests/ecma/Math/15.8.2.2.js rename : js/tests/ecma/Math/15.8.2.3.js => js/src/tests/ecma/Math/15.8.2.3.js rename : js/tests/ecma/Math/15.8.2.4.js => js/src/tests/ecma/Math/15.8.2.4.js rename : js/tests/ecma/Math/15.8.2.5.js => js/src/tests/ecma/Math/15.8.2.5.js rename : js/tests/ecma/Math/15.8.2.6.js => js/src/tests/ecma/Math/15.8.2.6.js rename : js/tests/ecma/Math/15.8.2.7.js => js/src/tests/ecma/Math/15.8.2.7.js rename : js/tests/ecma/Math/15.8.2.8.js => js/src/tests/ecma/Math/15.8.2.8.js rename : js/tests/ecma/Math/15.8.2.9.js => js/src/tests/ecma/Math/15.8.2.9.js rename : js/tests/ecma/Math/browser.js => js/src/tests/ecma/Math/browser.js rename : js/tests/ecma/Math/shell.js => js/src/tests/ecma/Math/shell.js rename : js/tests/ecma/NativeObjects/browser.js => js/src/tests/ecma/NativeObjects/browser.js rename : js/tests/ecma/NativeObjects/shell.js => js/src/tests/ecma/NativeObjects/shell.js rename : js/tests/ecma/Number/15.7.1.js => js/src/tests/ecma/Number/15.7.1.js rename : js/tests/ecma/Number/15.7.2.js => js/src/tests/ecma/Number/15.7.2.js rename : js/tests/ecma/Number/15.7.3.1-1.js => js/src/tests/ecma/Number/15.7.3.1-1.js rename : js/tests/ecma/Number/15.7.3.1-2.js => js/src/tests/ecma/Number/15.7.3.1-2.js rename : js/tests/ecma/Number/15.7.3.1-3.js => js/src/tests/ecma/Number/15.7.3.1-3.js rename : js/tests/ecma/Number/15.7.3.2-1.js => js/src/tests/ecma/Number/15.7.3.2-1.js rename : js/tests/ecma/Number/15.7.3.2-2.js => js/src/tests/ecma/Number/15.7.3.2-2.js rename : js/tests/ecma/Number/15.7.3.2-3.js => js/src/tests/ecma/Number/15.7.3.2-3.js rename : js/tests/ecma/Number/15.7.3.2-4.js => js/src/tests/ecma/Number/15.7.3.2-4.js rename : js/tests/ecma/Number/15.7.3.3-1.js => js/src/tests/ecma/Number/15.7.3.3-1.js rename : js/tests/ecma/Number/15.7.3.3-2.js => js/src/tests/ecma/Number/15.7.3.3-2.js rename : js/tests/ecma/Number/15.7.3.3-3.js => js/src/tests/ecma/Number/15.7.3.3-3.js rename : js/tests/ecma/Number/15.7.3.3-4.js => js/src/tests/ecma/Number/15.7.3.3-4.js rename : js/tests/ecma/Number/15.7.3.4-1.js => js/src/tests/ecma/Number/15.7.3.4-1.js rename : js/tests/ecma/Number/15.7.3.4-2.js => js/src/tests/ecma/Number/15.7.3.4-2.js rename : js/tests/ecma/Number/15.7.3.4-3.js => js/src/tests/ecma/Number/15.7.3.4-3.js rename : js/tests/ecma/Number/15.7.3.4-4.js => js/src/tests/ecma/Number/15.7.3.4-4.js rename : js/tests/ecma/Number/15.7.3.5-1.js => js/src/tests/ecma/Number/15.7.3.5-1.js rename : js/tests/ecma/Number/15.7.3.5-2.js => js/src/tests/ecma/Number/15.7.3.5-2.js rename : js/tests/ecma/Number/15.7.3.5-3.js => js/src/tests/ecma/Number/15.7.3.5-3.js rename : js/tests/ecma/Number/15.7.3.5-4.js => js/src/tests/ecma/Number/15.7.3.5-4.js rename : js/tests/ecma/Number/15.7.3.6-1.js => js/src/tests/ecma/Number/15.7.3.6-1.js rename : js/tests/ecma/Number/15.7.3.6-2.js => js/src/tests/ecma/Number/15.7.3.6-2.js rename : js/tests/ecma/Number/15.7.3.6-3.js => js/src/tests/ecma/Number/15.7.3.6-3.js rename : js/tests/ecma/Number/15.7.3.6-4.js => js/src/tests/ecma/Number/15.7.3.6-4.js rename : js/tests/ecma/Number/15.7.3.js => js/src/tests/ecma/Number/15.7.3.js rename : js/tests/ecma/Number/15.7.4-1.js => js/src/tests/ecma/Number/15.7.4-1.js rename : js/tests/ecma/Number/15.7.4.1.js => js/src/tests/ecma/Number/15.7.4.1.js rename : js/tests/ecma/Number/15.7.4.2-1.js => js/src/tests/ecma/Number/15.7.4.2-1.js rename : js/tests/ecma/Number/15.7.4.2-2-n.js => js/src/tests/ecma/Number/15.7.4.2-2-n.js rename : js/tests/ecma/Number/15.7.4.2-3-n.js => js/src/tests/ecma/Number/15.7.4.2-3-n.js rename : js/tests/ecma/Number/15.7.4.2-4.js => js/src/tests/ecma/Number/15.7.4.2-4.js rename : js/tests/ecma/Number/15.7.4.3-1.js => js/src/tests/ecma/Number/15.7.4.3-1.js rename : js/tests/ecma/Number/15.7.4.3-2.js => js/src/tests/ecma/Number/15.7.4.3-2.js rename : js/tests/ecma/Number/15.7.4.3-3-n.js => js/src/tests/ecma/Number/15.7.4.3-3-n.js rename : js/tests/ecma/Number/browser.js => js/src/tests/ecma/Number/browser.js rename : js/tests/ecma/Number/shell.js => js/src/tests/ecma/Number/shell.js rename : js/tests/ecma/ObjectObjects/15.2.1.1.js => js/src/tests/ecma/ObjectObjects/15.2.1.1.js rename : js/tests/ecma/ObjectObjects/15.2.1.2.js => js/src/tests/ecma/ObjectObjects/15.2.1.2.js rename : js/tests/ecma/ObjectObjects/15.2.2.1.js => js/src/tests/ecma/ObjectObjects/15.2.2.1.js rename : js/tests/ecma/ObjectObjects/15.2.2.2.js => js/src/tests/ecma/ObjectObjects/15.2.2.2.js rename : js/tests/ecma/ObjectObjects/15.2.3-1.js => js/src/tests/ecma/ObjectObjects/15.2.3-1.js rename : js/tests/ecma/ObjectObjects/15.2.3.1-1.js => js/src/tests/ecma/ObjectObjects/15.2.3.1-1.js rename : js/tests/ecma/ObjectObjects/15.2.3.1-2.js => js/src/tests/ecma/ObjectObjects/15.2.3.1-2.js rename : js/tests/ecma/ObjectObjects/15.2.3.1-3.js => js/src/tests/ecma/ObjectObjects/15.2.3.1-3.js rename : js/tests/ecma/ObjectObjects/15.2.3.1-4.js => js/src/tests/ecma/ObjectObjects/15.2.3.1-4.js rename : js/tests/ecma/ObjectObjects/15.2.3.js => js/src/tests/ecma/ObjectObjects/15.2.3.js rename : js/tests/ecma/ObjectObjects/15.2.4.1.js => js/src/tests/ecma/ObjectObjects/15.2.4.1.js rename : js/tests/ecma/ObjectObjects/15.2.4.2.js => js/src/tests/ecma/ObjectObjects/15.2.4.2.js rename : js/tests/ecma/ObjectObjects/15.2.4.3.js => js/src/tests/ecma/ObjectObjects/15.2.4.3.js rename : js/tests/ecma/ObjectObjects/browser.js => js/src/tests/ecma/ObjectObjects/browser.js rename : js/tests/ecma/ObjectObjects/shell.js => js/src/tests/ecma/ObjectObjects/shell.js rename : js/tests/ecma/README => js/src/tests/ecma/README rename : js/tests/ecma/SourceText/6-1.js => js/src/tests/ecma/SourceText/6-1.js rename : js/tests/ecma/SourceText/6-2.js => js/src/tests/ecma/SourceText/6-2.js rename : js/tests/ecma/SourceText/browser.js => js/src/tests/ecma/SourceText/browser.js rename : js/tests/ecma/SourceText/shell.js => js/src/tests/ecma/SourceText/shell.js rename : js/tests/ecma/Statements/12.10-1.js => js/src/tests/ecma/Statements/12.10-1.js rename : js/tests/ecma/Statements/12.10.js => js/src/tests/ecma/Statements/12.10.js rename : js/tests/ecma/Statements/12.2-1.js => js/src/tests/ecma/Statements/12.2-1.js rename : js/tests/ecma/Statements/12.5-1.js => js/src/tests/ecma/Statements/12.5-1.js rename : js/tests/ecma/Statements/12.5-2.js => js/src/tests/ecma/Statements/12.5-2.js rename : js/tests/ecma/Statements/12.6.1-1.js => js/src/tests/ecma/Statements/12.6.1-1.js rename : js/tests/ecma/Statements/12.6.2-1.js => js/src/tests/ecma/Statements/12.6.2-1.js rename : js/tests/ecma/Statements/12.6.2-2.js => js/src/tests/ecma/Statements/12.6.2-2.js rename : js/tests/ecma/Statements/12.6.2-3.js => js/src/tests/ecma/Statements/12.6.2-3.js rename : js/tests/ecma/Statements/12.6.2-4.js => js/src/tests/ecma/Statements/12.6.2-4.js rename : js/tests/ecma/Statements/12.6.2-5.js => js/src/tests/ecma/Statements/12.6.2-5.js rename : js/tests/ecma/Statements/12.6.2-6.js => js/src/tests/ecma/Statements/12.6.2-6.js rename : js/tests/ecma/Statements/12.6.2-7.js => js/src/tests/ecma/Statements/12.6.2-7.js rename : js/tests/ecma/Statements/12.6.2-8.js => js/src/tests/ecma/Statements/12.6.2-8.js rename : js/tests/ecma/Statements/12.6.2-9-n.js => js/src/tests/ecma/Statements/12.6.2-9-n.js rename : js/tests/ecma/Statements/12.6.3-1.js => js/src/tests/ecma/Statements/12.6.3-1.js rename : js/tests/ecma/Statements/12.6.3-10.js => js/src/tests/ecma/Statements/12.6.3-10.js rename : js/tests/ecma/Statements/12.6.3-11.js => js/src/tests/ecma/Statements/12.6.3-11.js rename : js/tests/ecma/Statements/12.6.3-12.js => js/src/tests/ecma/Statements/12.6.3-12.js rename : js/tests/ecma/Statements/12.6.3-19.js => js/src/tests/ecma/Statements/12.6.3-19.js rename : js/tests/ecma/Statements/12.6.3-2.js => js/src/tests/ecma/Statements/12.6.3-2.js rename : js/tests/ecma/Statements/12.6.3-3.js => js/src/tests/ecma/Statements/12.6.3-3.js rename : js/tests/ecma/Statements/12.6.3-4.js => js/src/tests/ecma/Statements/12.6.3-4.js rename : js/tests/ecma/Statements/12.6.3-5-n.js => js/src/tests/ecma/Statements/12.6.3-5-n.js rename : js/tests/ecma/Statements/12.6.3-6-n.js => js/src/tests/ecma/Statements/12.6.3-6-n.js rename : js/tests/ecma/Statements/12.6.3-7-n.js => js/src/tests/ecma/Statements/12.6.3-7-n.js rename : js/tests/ecma/Statements/12.6.3-8-n.js => js/src/tests/ecma/Statements/12.6.3-8-n.js rename : js/tests/ecma/Statements/12.6.3-9-n.js => js/src/tests/ecma/Statements/12.6.3-9-n.js rename : js/tests/ecma/Statements/12.7-1-n.js => js/src/tests/ecma/Statements/12.7-1-n.js rename : js/tests/ecma/Statements/12.8-1-n.js => js/src/tests/ecma/Statements/12.8-1-n.js rename : js/tests/ecma/Statements/12.9-1-n.js => js/src/tests/ecma/Statements/12.9-1-n.js rename : js/tests/ecma/Statements/browser.js => js/src/tests/ecma/Statements/browser.js rename : js/tests/ecma/Statements/shell.js => js/src/tests/ecma/Statements/shell.js rename : js/tests/ecma/String/15.5.1.js => js/src/tests/ecma/String/15.5.1.js rename : js/tests/ecma/String/15.5.2.js => js/src/tests/ecma/String/15.5.2.js rename : js/tests/ecma/String/15.5.3.1-1.js => js/src/tests/ecma/String/15.5.3.1-1.js rename : js/tests/ecma/String/15.5.3.1-2.js => js/src/tests/ecma/String/15.5.3.1-2.js rename : js/tests/ecma/String/15.5.3.1-3.js => js/src/tests/ecma/String/15.5.3.1-3.js rename : js/tests/ecma/String/15.5.3.1-4.js => js/src/tests/ecma/String/15.5.3.1-4.js rename : js/tests/ecma/String/15.5.3.2-1.js => js/src/tests/ecma/String/15.5.3.2-1.js rename : js/tests/ecma/String/15.5.3.2-2.js => js/src/tests/ecma/String/15.5.3.2-2.js rename : js/tests/ecma/String/15.5.3.2-3.js => js/src/tests/ecma/String/15.5.3.2-3.js rename : js/tests/ecma/String/15.5.3.js => js/src/tests/ecma/String/15.5.3.js rename : js/tests/ecma/String/15.5.4.1.js => js/src/tests/ecma/String/15.5.4.1.js rename : js/tests/ecma/String/15.5.4.10-1.js => js/src/tests/ecma/String/15.5.4.10-1.js rename : js/tests/ecma/String/15.5.4.11-1.js => js/src/tests/ecma/String/15.5.4.11-1.js rename : js/tests/ecma/String/15.5.4.11-2.js => js/src/tests/ecma/String/15.5.4.11-2.js rename : js/tests/ecma/String/15.5.4.11-3.js => js/src/tests/ecma/String/15.5.4.11-3.js rename : js/tests/ecma/String/15.5.4.11-4.js => js/src/tests/ecma/String/15.5.4.11-4.js rename : js/tests/ecma/String/15.5.4.11-5.js => js/src/tests/ecma/String/15.5.4.11-5.js rename : js/tests/ecma/String/15.5.4.11-6.js => js/src/tests/ecma/String/15.5.4.11-6.js rename : js/tests/ecma/String/15.5.4.12-1.js => js/src/tests/ecma/String/15.5.4.12-1.js rename : js/tests/ecma/String/15.5.4.12-2.js => js/src/tests/ecma/String/15.5.4.12-2.js rename : js/tests/ecma/String/15.5.4.12-3.js => js/src/tests/ecma/String/15.5.4.12-3.js rename : js/tests/ecma/String/15.5.4.12-4.js => js/src/tests/ecma/String/15.5.4.12-4.js rename : js/tests/ecma/String/15.5.4.12-5.js => js/src/tests/ecma/String/15.5.4.12-5.js rename : js/tests/ecma/String/15.5.4.2-1.js => js/src/tests/ecma/String/15.5.4.2-1.js rename : js/tests/ecma/String/15.5.4.2-2-n.js => js/src/tests/ecma/String/15.5.4.2-2-n.js rename : js/tests/ecma/String/15.5.4.2-3.js => js/src/tests/ecma/String/15.5.4.2-3.js rename : js/tests/ecma/String/15.5.4.2.js => js/src/tests/ecma/String/15.5.4.2.js rename : js/tests/ecma/String/15.5.4.3-1.js => js/src/tests/ecma/String/15.5.4.3-1.js rename : js/tests/ecma/String/15.5.4.3-2.js => js/src/tests/ecma/String/15.5.4.3-2.js rename : js/tests/ecma/String/15.5.4.3-3-n.js => js/src/tests/ecma/String/15.5.4.3-3-n.js rename : js/tests/ecma/String/15.5.4.4-1.js => js/src/tests/ecma/String/15.5.4.4-1.js rename : js/tests/ecma/String/15.5.4.4-2.js => js/src/tests/ecma/String/15.5.4.4-2.js rename : js/tests/ecma/String/15.5.4.4-3.js => js/src/tests/ecma/String/15.5.4.4-3.js rename : js/tests/ecma/String/15.5.4.4-4.js => js/src/tests/ecma/String/15.5.4.4-4.js rename : js/tests/ecma/String/15.5.4.5-1.js => js/src/tests/ecma/String/15.5.4.5-1.js rename : js/tests/ecma/String/15.5.4.5-2.js => js/src/tests/ecma/String/15.5.4.5-2.js rename : js/tests/ecma/String/15.5.4.5-3.js => js/src/tests/ecma/String/15.5.4.5-3.js rename : js/tests/ecma/String/15.5.4.5-4.js => js/src/tests/ecma/String/15.5.4.5-4.js rename : js/tests/ecma/String/15.5.4.5-5.js => js/src/tests/ecma/String/15.5.4.5-5.js rename : js/tests/ecma/String/15.5.4.6-1.js => js/src/tests/ecma/String/15.5.4.6-1.js rename : js/tests/ecma/String/15.5.4.6-2.js => js/src/tests/ecma/String/15.5.4.6-2.js rename : js/tests/ecma/String/15.5.4.7-1.js => js/src/tests/ecma/String/15.5.4.7-1.js rename : js/tests/ecma/String/15.5.4.7-2.js => js/src/tests/ecma/String/15.5.4.7-2.js rename : js/tests/ecma/String/15.5.4.8-1.js => js/src/tests/ecma/String/15.5.4.8-1.js rename : js/tests/ecma/String/15.5.4.8-2.js => js/src/tests/ecma/String/15.5.4.8-2.js rename : js/tests/ecma/String/15.5.4.8-3.js => js/src/tests/ecma/String/15.5.4.8-3.js rename : js/tests/ecma/String/15.5.4.9-1.js => js/src/tests/ecma/String/15.5.4.9-1.js rename : js/tests/ecma/String/15.5.4.js => js/src/tests/ecma/String/15.5.4.js rename : js/tests/ecma/String/15.5.5.1.js => js/src/tests/ecma/String/15.5.5.1.js rename : js/tests/ecma/String/browser.js => js/src/tests/ecma/String/browser.js rename : js/tests/ecma/String/shell.js => js/src/tests/ecma/String/shell.js rename : js/tests/ecma/TypeConversion/9.2.js => js/src/tests/ecma/TypeConversion/9.2.js rename : js/tests/ecma/TypeConversion/9.3-1.js => js/src/tests/ecma/TypeConversion/9.3-1.js rename : js/tests/ecma/TypeConversion/9.3.1-1.js => js/src/tests/ecma/TypeConversion/9.3.1-1.js rename : js/tests/ecma/TypeConversion/9.3.1-2.js => js/src/tests/ecma/TypeConversion/9.3.1-2.js rename : js/tests/ecma/TypeConversion/9.3.1-3.js => js/src/tests/ecma/TypeConversion/9.3.1-3.js rename : js/tests/ecma/TypeConversion/9.3.js => js/src/tests/ecma/TypeConversion/9.3.js rename : js/tests/ecma/TypeConversion/9.4-1.js => js/src/tests/ecma/TypeConversion/9.4-1.js rename : js/tests/ecma/TypeConversion/9.4-2.js => js/src/tests/ecma/TypeConversion/9.4-2.js rename : js/tests/ecma/TypeConversion/9.5-2.js => js/src/tests/ecma/TypeConversion/9.5-2.js rename : js/tests/ecma/TypeConversion/9.6.js => js/src/tests/ecma/TypeConversion/9.6.js rename : js/tests/ecma/TypeConversion/9.7.js => js/src/tests/ecma/TypeConversion/9.7.js rename : js/tests/ecma/TypeConversion/9.8.1.js => js/src/tests/ecma/TypeConversion/9.8.1.js rename : js/tests/ecma/TypeConversion/9.9-1.js => js/src/tests/ecma/TypeConversion/9.9-1.js rename : js/tests/ecma/TypeConversion/browser.js => js/src/tests/ecma/TypeConversion/browser.js rename : js/tests/ecma/TypeConversion/shell.js => js/src/tests/ecma/TypeConversion/shell.js rename : js/tests/ecma/Types/8.1.js => js/src/tests/ecma/Types/8.1.js rename : js/tests/ecma/Types/8.4.js => js/src/tests/ecma/Types/8.4.js rename : js/tests/ecma/Types/8.6.2.1-1.js => js/src/tests/ecma/Types/8.6.2.1-1.js rename : js/tests/ecma/Types/browser.js => js/src/tests/ecma/Types/browser.js rename : js/tests/ecma/Types/shell.js => js/src/tests/ecma/Types/shell.js rename : js/tests/ecma/browser.js => js/src/tests/ecma/browser.js rename : js/tests/ecma/extensions/10.1.4-9.js => js/src/tests/ecma/extensions/10.1.4-9.js rename : js/tests/ecma/extensions/10.1.6.js => js/src/tests/ecma/extensions/10.1.6.js rename : js/tests/ecma/extensions/10.1.8-1.js => js/src/tests/ecma/extensions/10.1.8-1.js rename : js/tests/ecma/extensions/11.6.1-1.js => js/src/tests/ecma/extensions/11.6.1-1.js rename : js/tests/ecma/extensions/11.6.1-2.js => js/src/tests/ecma/extensions/11.6.1-2.js rename : js/tests/ecma/extensions/11.6.1-3.js => js/src/tests/ecma/extensions/11.6.1-3.js rename : js/tests/ecma/extensions/11.6.2-1.js => js/src/tests/ecma/extensions/11.6.2-1.js rename : js/tests/ecma/extensions/15-1.js => js/src/tests/ecma/extensions/15-1.js rename : js/tests/ecma/extensions/15-2.js => js/src/tests/ecma/extensions/15-2.js rename : js/tests/ecma/extensions/15.1.2.1-1.js => js/src/tests/ecma/extensions/15.1.2.1-1.js rename : js/tests/ecma/extensions/15.2.1.1.js => js/src/tests/ecma/extensions/15.2.1.1.js rename : js/tests/ecma/extensions/15.2.3-1.js => js/src/tests/ecma/extensions/15.2.3-1.js rename : js/tests/ecma/extensions/15.2.4.js => js/src/tests/ecma/extensions/15.2.4.js rename : js/tests/ecma/extensions/15.3.1.1-1.js => js/src/tests/ecma/extensions/15.3.1.1-1.js rename : js/tests/ecma/extensions/15.3.1.1-2.js => js/src/tests/ecma/extensions/15.3.1.1-2.js rename : js/tests/ecma/extensions/15.3.2.1-1.js => js/src/tests/ecma/extensions/15.3.2.1-1.js rename : js/tests/ecma/extensions/15.3.2.1-2.js => js/src/tests/ecma/extensions/15.3.2.1-2.js rename : js/tests/ecma/extensions/15.3.3.1-1.js => js/src/tests/ecma/extensions/15.3.3.1-1.js rename : js/tests/ecma/extensions/15.4.3.js => js/src/tests/ecma/extensions/15.4.3.js rename : js/tests/ecma/extensions/15.5.3.js => js/src/tests/ecma/extensions/15.5.3.js rename : js/tests/ecma/extensions/15.5.4.2.js => js/src/tests/ecma/extensions/15.5.4.2.js rename : js/tests/ecma/extensions/15.5.4.4-4.js => js/src/tests/ecma/extensions/15.5.4.4-4.js rename : js/tests/ecma/extensions/15.5.4.5-6.js => js/src/tests/ecma/extensions/15.5.4.5-6.js rename : js/tests/ecma/extensions/15.5.4.7-3.js => js/src/tests/ecma/extensions/15.5.4.7-3.js rename : js/tests/ecma/extensions/15.6.3.1-5.js => js/src/tests/ecma/extensions/15.6.3.1-5.js rename : js/tests/ecma/extensions/15.6.3.js => js/src/tests/ecma/extensions/15.6.3.js rename : js/tests/ecma/extensions/15.6.4-2.js => js/src/tests/ecma/extensions/15.6.4-2.js rename : js/tests/ecma/extensions/15.7.3.js => js/src/tests/ecma/extensions/15.7.3.js rename : js/tests/ecma/extensions/15.7.4.js => js/src/tests/ecma/extensions/15.7.4.js rename : js/tests/ecma/extensions/15.8-1.js => js/src/tests/ecma/extensions/15.8-1.js rename : js/tests/ecma/extensions/15.9.5.js => js/src/tests/ecma/extensions/15.9.5.js rename : js/tests/ecma/extensions/8.6.2.1-1.js => js/src/tests/ecma/extensions/8.6.2.1-1.js rename : js/tests/ecma/extensions/9.9-1.js => js/src/tests/ecma/extensions/9.9-1.js rename : js/tests/ecma/extensions/browser.js => js/src/tests/ecma/extensions/browser.js rename : js/tests/ecma/extensions/shell.js => js/src/tests/ecma/extensions/shell.js rename : js/tests/ecma/jsref.js => js/src/tests/ecma/jsref.js rename : js/tests/ecma/shell.js => js/src/tests/ecma/shell.js rename : js/tests/ecma/template.js => js/src/tests/ecma/template.js rename : js/tests/ecma_2/Exceptions/boolean-001.js => js/src/tests/ecma_2/Exceptions/boolean-001.js rename : js/tests/ecma_2/Exceptions/boolean-002.js => js/src/tests/ecma_2/Exceptions/boolean-002.js rename : js/tests/ecma_2/Exceptions/browser.js => js/src/tests/ecma_2/Exceptions/browser.js rename : js/tests/ecma_2/Exceptions/date-001.js => js/src/tests/ecma_2/Exceptions/date-001.js rename : js/tests/ecma_2/Exceptions/date-002.js => js/src/tests/ecma_2/Exceptions/date-002.js rename : js/tests/ecma_2/Exceptions/date-003.js => js/src/tests/ecma_2/Exceptions/date-003.js rename : js/tests/ecma_2/Exceptions/date-004.js => js/src/tests/ecma_2/Exceptions/date-004.js rename : js/tests/ecma_2/Exceptions/exception-001.js => js/src/tests/ecma_2/Exceptions/exception-001.js rename : js/tests/ecma_2/Exceptions/exception-002.js => js/src/tests/ecma_2/Exceptions/exception-002.js rename : js/tests/ecma_2/Exceptions/exception-003.js => js/src/tests/ecma_2/Exceptions/exception-003.js rename : js/tests/ecma_2/Exceptions/exception-004.js => js/src/tests/ecma_2/Exceptions/exception-004.js rename : js/tests/ecma_2/Exceptions/exception-005.js => js/src/tests/ecma_2/Exceptions/exception-005.js rename : js/tests/ecma_2/Exceptions/exception-006.js => js/src/tests/ecma_2/Exceptions/exception-006.js rename : js/tests/ecma_2/Exceptions/exception-007.js => js/src/tests/ecma_2/Exceptions/exception-007.js rename : js/tests/ecma_2/Exceptions/exception-008.js => js/src/tests/ecma_2/Exceptions/exception-008.js rename : js/tests/ecma_2/Exceptions/exception-009.js => js/src/tests/ecma_2/Exceptions/exception-009.js rename : js/tests/ecma_2/Exceptions/exception-010-n.js => js/src/tests/ecma_2/Exceptions/exception-010-n.js rename : js/tests/ecma_2/Exceptions/exception-011-n.js => js/src/tests/ecma_2/Exceptions/exception-011-n.js rename : js/tests/ecma_2/Exceptions/expression-001.js => js/src/tests/ecma_2/Exceptions/expression-001.js rename : js/tests/ecma_2/Exceptions/expression-002.js => js/src/tests/ecma_2/Exceptions/expression-002.js rename : js/tests/ecma_2/Exceptions/expression-003.js => js/src/tests/ecma_2/Exceptions/expression-003.js rename : js/tests/ecma_2/Exceptions/expression-004.js => js/src/tests/ecma_2/Exceptions/expression-004.js rename : js/tests/ecma_2/Exceptions/expression-005.js => js/src/tests/ecma_2/Exceptions/expression-005.js rename : js/tests/ecma_2/Exceptions/expression-006.js => js/src/tests/ecma_2/Exceptions/expression-006.js rename : js/tests/ecma_2/Exceptions/expression-007.js => js/src/tests/ecma_2/Exceptions/expression-007.js rename : js/tests/ecma_2/Exceptions/expression-008.js => js/src/tests/ecma_2/Exceptions/expression-008.js rename : js/tests/ecma_2/Exceptions/expression-009.js => js/src/tests/ecma_2/Exceptions/expression-009.js rename : js/tests/ecma_2/Exceptions/expression-010.js => js/src/tests/ecma_2/Exceptions/expression-010.js rename : js/tests/ecma_2/Exceptions/expression-011.js => js/src/tests/ecma_2/Exceptions/expression-011.js rename : js/tests/ecma_2/Exceptions/expression-012.js => js/src/tests/ecma_2/Exceptions/expression-012.js rename : js/tests/ecma_2/Exceptions/expression-013.js => js/src/tests/ecma_2/Exceptions/expression-013.js rename : js/tests/ecma_2/Exceptions/expression-014.js => js/src/tests/ecma_2/Exceptions/expression-014.js rename : js/tests/ecma_2/Exceptions/expression-015.js => js/src/tests/ecma_2/Exceptions/expression-015.js rename : js/tests/ecma_2/Exceptions/expression-016.js => js/src/tests/ecma_2/Exceptions/expression-016.js rename : js/tests/ecma_2/Exceptions/expression-017.js => js/src/tests/ecma_2/Exceptions/expression-017.js rename : js/tests/ecma_2/Exceptions/expression-019.js => js/src/tests/ecma_2/Exceptions/expression-019.js rename : js/tests/ecma_2/Exceptions/function-001.js => js/src/tests/ecma_2/Exceptions/function-001.js rename : js/tests/ecma_2/Exceptions/global-001.js => js/src/tests/ecma_2/Exceptions/global-001.js rename : js/tests/ecma_2/Exceptions/global-002.js => js/src/tests/ecma_2/Exceptions/global-002.js rename : js/tests/ecma_2/Exceptions/lexical-001.js => js/src/tests/ecma_2/Exceptions/lexical-001.js rename : js/tests/ecma_2/Exceptions/lexical-002.js => js/src/tests/ecma_2/Exceptions/lexical-002.js rename : js/tests/ecma_2/Exceptions/lexical-003.js => js/src/tests/ecma_2/Exceptions/lexical-003.js rename : js/tests/ecma_2/Exceptions/lexical-004.js => js/src/tests/ecma_2/Exceptions/lexical-004.js rename : js/tests/ecma_2/Exceptions/lexical-005.js => js/src/tests/ecma_2/Exceptions/lexical-005.js rename : js/tests/ecma_2/Exceptions/lexical-006.js => js/src/tests/ecma_2/Exceptions/lexical-006.js rename : js/tests/ecma_2/Exceptions/lexical-007.js => js/src/tests/ecma_2/Exceptions/lexical-007.js rename : js/tests/ecma_2/Exceptions/lexical-008.js => js/src/tests/ecma_2/Exceptions/lexical-008.js rename : js/tests/ecma_2/Exceptions/lexical-009.js => js/src/tests/ecma_2/Exceptions/lexical-009.js rename : js/tests/ecma_2/Exceptions/lexical-010.js => js/src/tests/ecma_2/Exceptions/lexical-010.js rename : js/tests/ecma_2/Exceptions/lexical-011.js => js/src/tests/ecma_2/Exceptions/lexical-011.js rename : js/tests/ecma_2/Exceptions/lexical-012.js => js/src/tests/ecma_2/Exceptions/lexical-012.js rename : js/tests/ecma_2/Exceptions/lexical-013.js => js/src/tests/ecma_2/Exceptions/lexical-013.js rename : js/tests/ecma_2/Exceptions/lexical-014.js => js/src/tests/ecma_2/Exceptions/lexical-014.js rename : js/tests/ecma_2/Exceptions/lexical-015.js => js/src/tests/ecma_2/Exceptions/lexical-015.js rename : js/tests/ecma_2/Exceptions/lexical-016.js => js/src/tests/ecma_2/Exceptions/lexical-016.js rename : js/tests/ecma_2/Exceptions/lexical-017.js => js/src/tests/ecma_2/Exceptions/lexical-017.js rename : js/tests/ecma_2/Exceptions/lexical-018.js => js/src/tests/ecma_2/Exceptions/lexical-018.js rename : js/tests/ecma_2/Exceptions/lexical-019.js => js/src/tests/ecma_2/Exceptions/lexical-019.js rename : js/tests/ecma_2/Exceptions/lexical-020.js => js/src/tests/ecma_2/Exceptions/lexical-020.js rename : js/tests/ecma_2/Exceptions/lexical-021.js => js/src/tests/ecma_2/Exceptions/lexical-021.js rename : js/tests/ecma_2/Exceptions/lexical-022.js => js/src/tests/ecma_2/Exceptions/lexical-022.js rename : js/tests/ecma_2/Exceptions/lexical-023.js => js/src/tests/ecma_2/Exceptions/lexical-023.js rename : js/tests/ecma_2/Exceptions/lexical-024.js => js/src/tests/ecma_2/Exceptions/lexical-024.js rename : js/tests/ecma_2/Exceptions/lexical-025.js => js/src/tests/ecma_2/Exceptions/lexical-025.js rename : js/tests/ecma_2/Exceptions/lexical-026.js => js/src/tests/ecma_2/Exceptions/lexical-026.js rename : js/tests/ecma_2/Exceptions/lexical-027.js => js/src/tests/ecma_2/Exceptions/lexical-027.js rename : js/tests/ecma_2/Exceptions/lexical-028.js => js/src/tests/ecma_2/Exceptions/lexical-028.js rename : js/tests/ecma_2/Exceptions/lexical-029.js => js/src/tests/ecma_2/Exceptions/lexical-029.js rename : js/tests/ecma_2/Exceptions/lexical-030.js => js/src/tests/ecma_2/Exceptions/lexical-030.js rename : js/tests/ecma_2/Exceptions/lexical-031.js => js/src/tests/ecma_2/Exceptions/lexical-031.js rename : js/tests/ecma_2/Exceptions/lexical-032.js => js/src/tests/ecma_2/Exceptions/lexical-032.js rename : js/tests/ecma_2/Exceptions/lexical-033.js => js/src/tests/ecma_2/Exceptions/lexical-033.js rename : js/tests/ecma_2/Exceptions/lexical-034.js => js/src/tests/ecma_2/Exceptions/lexical-034.js rename : js/tests/ecma_2/Exceptions/lexical-035.js => js/src/tests/ecma_2/Exceptions/lexical-035.js rename : js/tests/ecma_2/Exceptions/lexical-036.js => js/src/tests/ecma_2/Exceptions/lexical-036.js rename : js/tests/ecma_2/Exceptions/lexical-037.js => js/src/tests/ecma_2/Exceptions/lexical-037.js rename : js/tests/ecma_2/Exceptions/lexical-038.js => js/src/tests/ecma_2/Exceptions/lexical-038.js rename : js/tests/ecma_2/Exceptions/lexical-039.js => js/src/tests/ecma_2/Exceptions/lexical-039.js rename : js/tests/ecma_2/Exceptions/lexical-040.js => js/src/tests/ecma_2/Exceptions/lexical-040.js rename : js/tests/ecma_2/Exceptions/lexical-041.js => js/src/tests/ecma_2/Exceptions/lexical-041.js rename : js/tests/ecma_2/Exceptions/lexical-042.js => js/src/tests/ecma_2/Exceptions/lexical-042.js rename : js/tests/ecma_2/Exceptions/lexical-047.js => js/src/tests/ecma_2/Exceptions/lexical-047.js rename : js/tests/ecma_2/Exceptions/lexical-048.js => js/src/tests/ecma_2/Exceptions/lexical-048.js rename : js/tests/ecma_2/Exceptions/lexical-049.js => js/src/tests/ecma_2/Exceptions/lexical-049.js rename : js/tests/ecma_2/Exceptions/lexical-050.js => js/src/tests/ecma_2/Exceptions/lexical-050.js rename : js/tests/ecma_2/Exceptions/lexical-051.js => js/src/tests/ecma_2/Exceptions/lexical-051.js rename : js/tests/ecma_2/Exceptions/lexical-052.js => js/src/tests/ecma_2/Exceptions/lexical-052.js rename : js/tests/ecma_2/Exceptions/lexical-053.js => js/src/tests/ecma_2/Exceptions/lexical-053.js rename : js/tests/ecma_2/Exceptions/lexical-054.js => js/src/tests/ecma_2/Exceptions/lexical-054.js rename : js/tests/ecma_2/Exceptions/number-001.js => js/src/tests/ecma_2/Exceptions/number-001.js rename : js/tests/ecma_2/Exceptions/number-002.js => js/src/tests/ecma_2/Exceptions/number-002.js rename : js/tests/ecma_2/Exceptions/number-003.js => js/src/tests/ecma_2/Exceptions/number-003.js rename : js/tests/ecma_2/Exceptions/shell.js => js/src/tests/ecma_2/Exceptions/shell.js rename : js/tests/ecma_2/Exceptions/statement-001.js => js/src/tests/ecma_2/Exceptions/statement-001.js rename : js/tests/ecma_2/Exceptions/statement-002.js => js/src/tests/ecma_2/Exceptions/statement-002.js rename : js/tests/ecma_2/Exceptions/statement-003.js => js/src/tests/ecma_2/Exceptions/statement-003.js rename : js/tests/ecma_2/Exceptions/statement-004.js => js/src/tests/ecma_2/Exceptions/statement-004.js rename : js/tests/ecma_2/Exceptions/statement-005.js => js/src/tests/ecma_2/Exceptions/statement-005.js rename : js/tests/ecma_2/Exceptions/statement-006.js => js/src/tests/ecma_2/Exceptions/statement-006.js rename : js/tests/ecma_2/Exceptions/statement-007.js => js/src/tests/ecma_2/Exceptions/statement-007.js rename : js/tests/ecma_2/Exceptions/statement-008.js => js/src/tests/ecma_2/Exceptions/statement-008.js rename : js/tests/ecma_2/Exceptions/statement-009.js => js/src/tests/ecma_2/Exceptions/statement-009.js rename : js/tests/ecma_2/Exceptions/string-001.js => js/src/tests/ecma_2/Exceptions/string-001.js rename : js/tests/ecma_2/Exceptions/string-002.js => js/src/tests/ecma_2/Exceptions/string-002.js rename : js/tests/ecma_2/Expressions/StrictEquality-001.js => js/src/tests/ecma_2/Expressions/StrictEquality-001.js rename : js/tests/ecma_2/Expressions/browser.js => js/src/tests/ecma_2/Expressions/browser.js rename : js/tests/ecma_2/Expressions/shell.js => js/src/tests/ecma_2/Expressions/shell.js rename : js/tests/ecma_2/FunctionObjects/apply-001-n.js => js/src/tests/ecma_2/FunctionObjects/apply-001-n.js rename : js/tests/ecma_2/FunctionObjects/browser.js => js/src/tests/ecma_2/FunctionObjects/browser.js rename : js/tests/ecma_2/FunctionObjects/call-1.js => js/src/tests/ecma_2/FunctionObjects/call-1.js rename : js/tests/ecma_2/FunctionObjects/shell.js => js/src/tests/ecma_2/FunctionObjects/shell.js rename : js/tests/ecma_2/LexicalConventions/browser.js => js/src/tests/ecma_2/LexicalConventions/browser.js rename : js/tests/ecma_2/LexicalConventions/keywords-001.js => js/src/tests/ecma_2/LexicalConventions/keywords-001.js rename : js/tests/ecma_2/LexicalConventions/regexp-literals-001.js => js/src/tests/ecma_2/LexicalConventions/regexp-literals-001.js rename : js/tests/ecma_2/LexicalConventions/regexp-literals-002.js => js/src/tests/ecma_2/LexicalConventions/regexp-literals-002.js rename : js/tests/ecma_2/LexicalConventions/shell.js => js/src/tests/ecma_2/LexicalConventions/shell.js rename : js/tests/ecma_2/README => js/src/tests/ecma_2/README rename : js/tests/ecma_2/RegExp/browser.js => js/src/tests/ecma_2/RegExp/browser.js rename : js/tests/ecma_2/RegExp/constructor-001.js => js/src/tests/ecma_2/RegExp/constructor-001.js rename : js/tests/ecma_2/RegExp/exec-001.js => js/src/tests/ecma_2/RegExp/exec-001.js rename : js/tests/ecma_2/RegExp/exec-002.js => js/src/tests/ecma_2/RegExp/exec-002.js rename : js/tests/ecma_2/RegExp/function-001.js => js/src/tests/ecma_2/RegExp/function-001.js rename : js/tests/ecma_2/RegExp/hex-001.js => js/src/tests/ecma_2/RegExp/hex-001.js rename : js/tests/ecma_2/RegExp/multiline-001.js => js/src/tests/ecma_2/RegExp/multiline-001.js rename : js/tests/ecma_2/RegExp/octal-001.js => js/src/tests/ecma_2/RegExp/octal-001.js rename : js/tests/ecma_2/RegExp/octal-002.js => js/src/tests/ecma_2/RegExp/octal-002.js rename : js/tests/ecma_2/RegExp/octal-003.js => js/src/tests/ecma_2/RegExp/octal-003.js rename : js/tests/ecma_2/RegExp/properties-001.js => js/src/tests/ecma_2/RegExp/properties-001.js rename : js/tests/ecma_2/RegExp/properties-002.js => js/src/tests/ecma_2/RegExp/properties-002.js rename : js/tests/ecma_2/RegExp/regexp-enumerate-001.js => js/src/tests/ecma_2/RegExp/regexp-enumerate-001.js rename : js/tests/ecma_2/RegExp/regress-001.js => js/src/tests/ecma_2/RegExp/regress-001.js rename : js/tests/ecma_2/RegExp/shell.js => js/src/tests/ecma_2/RegExp/shell.js rename : js/tests/ecma_2/RegExp/unicode-001.js => js/src/tests/ecma_2/RegExp/unicode-001.js rename : js/tests/ecma_2/Statements/browser.js => js/src/tests/ecma_2/Statements/browser.js rename : js/tests/ecma_2/Statements/dowhile-001.js => js/src/tests/ecma_2/Statements/dowhile-001.js rename : js/tests/ecma_2/Statements/dowhile-002.js => js/src/tests/ecma_2/Statements/dowhile-002.js rename : js/tests/ecma_2/Statements/dowhile-003.js => js/src/tests/ecma_2/Statements/dowhile-003.js rename : js/tests/ecma_2/Statements/dowhile-004.js => js/src/tests/ecma_2/Statements/dowhile-004.js rename : js/tests/ecma_2/Statements/dowhile-005.js => js/src/tests/ecma_2/Statements/dowhile-005.js rename : js/tests/ecma_2/Statements/dowhile-006.js => js/src/tests/ecma_2/Statements/dowhile-006.js rename : js/tests/ecma_2/Statements/dowhile-007.js => js/src/tests/ecma_2/Statements/dowhile-007.js rename : js/tests/ecma_2/Statements/forin-001.js => js/src/tests/ecma_2/Statements/forin-001.js rename : js/tests/ecma_2/Statements/forin-002.js => js/src/tests/ecma_2/Statements/forin-002.js rename : js/tests/ecma_2/Statements/if-001.js => js/src/tests/ecma_2/Statements/if-001.js rename : js/tests/ecma_2/Statements/label-001.js => js/src/tests/ecma_2/Statements/label-001.js rename : js/tests/ecma_2/Statements/label-002.js => js/src/tests/ecma_2/Statements/label-002.js rename : js/tests/ecma_2/Statements/shell.js => js/src/tests/ecma_2/Statements/shell.js rename : js/tests/ecma_2/Statements/switch-001.js => js/src/tests/ecma_2/Statements/switch-001.js rename : js/tests/ecma_2/Statements/switch-002.js => js/src/tests/ecma_2/Statements/switch-002.js rename : js/tests/ecma_2/Statements/switch-003.js => js/src/tests/ecma_2/Statements/switch-003.js rename : js/tests/ecma_2/Statements/switch-004.js => js/src/tests/ecma_2/Statements/switch-004.js rename : js/tests/ecma_2/Statements/try-001.js => js/src/tests/ecma_2/Statements/try-001.js rename : js/tests/ecma_2/Statements/try-003.js => js/src/tests/ecma_2/Statements/try-003.js rename : js/tests/ecma_2/Statements/try-004.js => js/src/tests/ecma_2/Statements/try-004.js rename : js/tests/ecma_2/Statements/try-005.js => js/src/tests/ecma_2/Statements/try-005.js rename : js/tests/ecma_2/Statements/try-006.js => js/src/tests/ecma_2/Statements/try-006.js rename : js/tests/ecma_2/Statements/try-007.js => js/src/tests/ecma_2/Statements/try-007.js rename : js/tests/ecma_2/Statements/try-008.js => js/src/tests/ecma_2/Statements/try-008.js rename : js/tests/ecma_2/Statements/try-009.js => js/src/tests/ecma_2/Statements/try-009.js rename : js/tests/ecma_2/Statements/try-010.js => js/src/tests/ecma_2/Statements/try-010.js rename : js/tests/ecma_2/Statements/try-012.js => js/src/tests/ecma_2/Statements/try-012.js rename : js/tests/ecma_2/Statements/while-001.js => js/src/tests/ecma_2/Statements/while-001.js rename : js/tests/ecma_2/Statements/while-002.js => js/src/tests/ecma_2/Statements/while-002.js rename : js/tests/ecma_2/Statements/while-003.js => js/src/tests/ecma_2/Statements/while-003.js rename : js/tests/ecma_2/Statements/while-004.js => js/src/tests/ecma_2/Statements/while-004.js rename : js/tests/ecma_2/String/browser.js => js/src/tests/ecma_2/String/browser.js rename : js/tests/ecma_2/String/match-001.js => js/src/tests/ecma_2/String/match-001.js rename : js/tests/ecma_2/String/match-002.js => js/src/tests/ecma_2/String/match-002.js rename : js/tests/ecma_2/String/match-003.js => js/src/tests/ecma_2/String/match-003.js rename : js/tests/ecma_2/String/match-004.js => js/src/tests/ecma_2/String/match-004.js rename : js/tests/ecma_2/String/replace-001.js => js/src/tests/ecma_2/String/replace-001.js rename : js/tests/ecma_2/String/shell.js => js/src/tests/ecma_2/String/shell.js rename : js/tests/ecma_2/String/split-001.js => js/src/tests/ecma_2/String/split-001.js rename : js/tests/ecma_2/String/split-002.js => js/src/tests/ecma_2/String/split-002.js rename : js/tests/ecma_2/String/split-003.js => js/src/tests/ecma_2/String/split-003.js rename : js/tests/ecma_2/browser.js => js/src/tests/ecma_2/browser.js rename : js/tests/ecma_2/extensions/browser.js => js/src/tests/ecma_2/extensions/browser.js rename : js/tests/ecma_2/extensions/constructor-001.js => js/src/tests/ecma_2/extensions/constructor-001.js rename : js/tests/ecma_2/extensions/function-001.js => js/src/tests/ecma_2/extensions/function-001.js rename : js/tests/ecma_2/extensions/instanceof-001.js => js/src/tests/ecma_2/extensions/instanceof-001.js rename : js/tests/ecma_2/extensions/instanceof-002.js => js/src/tests/ecma_2/extensions/instanceof-002.js rename : js/tests/ecma_2/extensions/instanceof-003-n.js => js/src/tests/ecma_2/extensions/instanceof-003-n.js rename : js/tests/ecma_2/extensions/instanceof-004-n.js => js/src/tests/ecma_2/extensions/instanceof-004-n.js rename : js/tests/ecma_2/extensions/instanceof-005-n.js => js/src/tests/ecma_2/extensions/instanceof-005-n.js rename : js/tests/ecma_2/extensions/instanceof-006.js => js/src/tests/ecma_2/extensions/instanceof-006.js rename : js/tests/ecma_2/extensions/shell.js => js/src/tests/ecma_2/extensions/shell.js rename : js/tests/ecma_2/instanceof/browser.js => js/src/tests/ecma_2/instanceof/browser.js rename : js/tests/ecma_2/instanceof/instanceof-001.js => js/src/tests/ecma_2/instanceof/instanceof-001.js rename : js/tests/ecma_2/instanceof/instanceof-002.js => js/src/tests/ecma_2/instanceof/instanceof-002.js rename : js/tests/ecma_2/instanceof/instanceof-003.js => js/src/tests/ecma_2/instanceof/instanceof-003.js rename : js/tests/ecma_2/instanceof/regress-7635.js => js/src/tests/ecma_2/instanceof/regress-7635.js rename : js/tests/ecma_2/instanceof/shell.js => js/src/tests/ecma_2/instanceof/shell.js rename : js/tests/ecma_2/jsref.js => js/src/tests/ecma_2/jsref.js rename : js/tests/ecma_2/shell.js => js/src/tests/ecma_2/shell.js rename : js/tests/ecma_2/template.js => js/src/tests/ecma_2/template.js rename : js/tests/ecma_3/Array/15.4.4.11-01.js => js/src/tests/ecma_3/Array/15.4.4.11-01.js rename : js/tests/ecma_3/Array/15.4.4.3-1.js => js/src/tests/ecma_3/Array/15.4.4.3-1.js rename : js/tests/ecma_3/Array/15.4.4.4-001.js => js/src/tests/ecma_3/Array/15.4.4.4-001.js rename : js/tests/ecma_3/Array/15.4.5.1-01.js => js/src/tests/ecma_3/Array/15.4.5.1-01.js rename : js/tests/ecma_3/Array/15.5.4.8-01.js => js/src/tests/ecma_3/Array/15.5.4.8-01.js rename : js/tests/ecma_3/Array/browser.js => js/src/tests/ecma_3/Array/browser.js rename : js/tests/ecma_3/Array/regress-101488.js => js/src/tests/ecma_3/Array/regress-101488.js rename : js/tests/ecma_3/Array/regress-130451.js => js/src/tests/ecma_3/Array/regress-130451.js rename : js/tests/ecma_3/Array/regress-322135-01.js => js/src/tests/ecma_3/Array/regress-322135-01.js rename : js/tests/ecma_3/Array/regress-322135-02.js => js/src/tests/ecma_3/Array/regress-322135-02.js rename : js/tests/ecma_3/Array/regress-322135-03.js => js/src/tests/ecma_3/Array/regress-322135-03.js rename : js/tests/ecma_3/Array/regress-322135-04.js => js/src/tests/ecma_3/Array/regress-322135-04.js rename : js/tests/ecma_3/Array/regress-387501.js => js/src/tests/ecma_3/Array/regress-387501.js rename : js/tests/ecma_3/Array/regress-421325.js => js/src/tests/ecma_3/Array/regress-421325.js rename : js/tests/ecma_3/Array/regress-430717.js => js/src/tests/ecma_3/Array/regress-430717.js rename : js/tests/ecma_3/Array/regress-488989.js => js/src/tests/ecma_3/Array/regress-488989.js rename : js/tests/ecma_3/Array/shell.js => js/src/tests/ecma_3/Array/shell.js rename : js/tests/ecma_3/Date/15.9.1.2-01.js => js/src/tests/ecma_3/Date/15.9.1.2-01.js rename : js/tests/ecma_3/Date/15.9.3.2-1.js => js/src/tests/ecma_3/Date/15.9.3.2-1.js rename : js/tests/ecma_3/Date/15.9.4.3.js => js/src/tests/ecma_3/Date/15.9.4.3.js rename : js/tests/ecma_3/Date/15.9.5.3.js => js/src/tests/ecma_3/Date/15.9.5.3.js rename : js/tests/ecma_3/Date/15.9.5.4.js => js/src/tests/ecma_3/Date/15.9.5.4.js rename : js/tests/ecma_3/Date/15.9.5.5-02.js => js/src/tests/ecma_3/Date/15.9.5.5-02.js rename : js/tests/ecma_3/Date/15.9.5.5.js => js/src/tests/ecma_3/Date/15.9.5.5.js rename : js/tests/ecma_3/Date/15.9.5.6.js => js/src/tests/ecma_3/Date/15.9.5.6.js rename : js/tests/ecma_3/Date/15.9.5.7.js => js/src/tests/ecma_3/Date/15.9.5.7.js rename : js/tests/ecma_3/Date/browser.js => js/src/tests/ecma_3/Date/browser.js rename : js/tests/ecma_3/Date/regress-452786.js => js/src/tests/ecma_3/Date/regress-452786.js rename : js/tests/ecma_3/Date/shell.js => js/src/tests/ecma_3/Date/shell.js rename : js/tests/ecma_3/Exceptions/15.11.1.1.js => js/src/tests/ecma_3/Exceptions/15.11.1.1.js rename : js/tests/ecma_3/Exceptions/15.11.4.4-1.js => js/src/tests/ecma_3/Exceptions/15.11.4.4-1.js rename : js/tests/ecma_3/Exceptions/15.11.7.6-001.js => js/src/tests/ecma_3/Exceptions/15.11.7.6-001.js rename : js/tests/ecma_3/Exceptions/15.11.7.6-002.js => js/src/tests/ecma_3/Exceptions/15.11.7.6-002.js rename : js/tests/ecma_3/Exceptions/15.11.7.6-003.js => js/src/tests/ecma_3/Exceptions/15.11.7.6-003.js rename : js/tests/ecma_3/Exceptions/binding-001.js => js/src/tests/ecma_3/Exceptions/binding-001.js rename : js/tests/ecma_3/Exceptions/browser.js => js/src/tests/ecma_3/Exceptions/browser.js rename : js/tests/ecma_3/Exceptions/regress-181654.js => js/src/tests/ecma_3/Exceptions/regress-181654.js rename : js/tests/ecma_3/Exceptions/regress-181914.js => js/src/tests/ecma_3/Exceptions/regress-181914.js rename : js/tests/ecma_3/Exceptions/regress-58946.js => js/src/tests/ecma_3/Exceptions/regress-58946.js rename : js/tests/ecma_3/Exceptions/regress-95101.js => js/src/tests/ecma_3/Exceptions/regress-95101.js rename : js/tests/ecma_3/Exceptions/shell.js => js/src/tests/ecma_3/Exceptions/shell.js rename : js/tests/ecma_3/ExecutionContexts/10.1.3-1.js => js/src/tests/ecma_3/ExecutionContexts/10.1.3-1.js rename : js/tests/ecma_3/ExecutionContexts/10.1.3-2.js => js/src/tests/ecma_3/ExecutionContexts/10.1.3-2.js rename : js/tests/ecma_3/ExecutionContexts/10.1.3.js => js/src/tests/ecma_3/ExecutionContexts/10.1.3.js rename : js/tests/ecma_3/ExecutionContexts/10.1.4-1.js => js/src/tests/ecma_3/ExecutionContexts/10.1.4-1.js rename : js/tests/ecma_3/ExecutionContexts/10.6.1-01.js => js/src/tests/ecma_3/ExecutionContexts/10.6.1-01.js rename : js/tests/ecma_3/ExecutionContexts/browser.js => js/src/tests/ecma_3/ExecutionContexts/browser.js rename : js/tests/ecma_3/ExecutionContexts/regress-23346.js => js/src/tests/ecma_3/ExecutionContexts/regress-23346.js rename : js/tests/ecma_3/ExecutionContexts/regress-448595-01.js => js/src/tests/ecma_3/ExecutionContexts/regress-448595-01.js rename : js/tests/ecma_3/ExecutionContexts/shell.js => js/src/tests/ecma_3/ExecutionContexts/shell.js rename : js/tests/ecma_3/Expressions/11.10-01.js => js/src/tests/ecma_3/Expressions/11.10-01.js rename : js/tests/ecma_3/Expressions/11.10-02.js => js/src/tests/ecma_3/Expressions/11.10-02.js rename : js/tests/ecma_3/Expressions/11.10-03.js => js/src/tests/ecma_3/Expressions/11.10-03.js rename : js/tests/ecma_3/Expressions/11.6.1-1.js => js/src/tests/ecma_3/Expressions/11.6.1-1.js rename : js/tests/ecma_3/Expressions/11.7.1-01.js => js/src/tests/ecma_3/Expressions/11.7.1-01.js rename : js/tests/ecma_3/Expressions/11.7.2-01.js => js/src/tests/ecma_3/Expressions/11.7.2-01.js rename : js/tests/ecma_3/Expressions/11.7.3-01.js => js/src/tests/ecma_3/Expressions/11.7.3-01.js rename : js/tests/ecma_3/Expressions/11.9.6-1.js => js/src/tests/ecma_3/Expressions/11.9.6-1.js rename : js/tests/ecma_3/Expressions/browser.js => js/src/tests/ecma_3/Expressions/browser.js rename : js/tests/ecma_3/Expressions/shell.js => js/src/tests/ecma_3/Expressions/shell.js rename : js/tests/ecma_3/FunExpr/browser.js => js/src/tests/ecma_3/FunExpr/browser.js rename : js/tests/ecma_3/FunExpr/fe-001-n.js => js/src/tests/ecma_3/FunExpr/fe-001-n.js rename : js/tests/ecma_3/FunExpr/fe-001.js => js/src/tests/ecma_3/FunExpr/fe-001.js rename : js/tests/ecma_3/FunExpr/fe-002.js => js/src/tests/ecma_3/FunExpr/fe-002.js rename : js/tests/ecma_3/FunExpr/shell.js => js/src/tests/ecma_3/FunExpr/shell.js rename : js/tests/ecma_3/Function/15.3.4.3-1.js => js/src/tests/ecma_3/Function/15.3.4.3-1.js rename : js/tests/ecma_3/Function/15.3.4.4-1.js => js/src/tests/ecma_3/Function/15.3.4.4-1.js rename : js/tests/ecma_3/Function/arguments-001.js => js/src/tests/ecma_3/Function/arguments-001.js rename : js/tests/ecma_3/Function/arguments-002.js => js/src/tests/ecma_3/Function/arguments-002.js rename : js/tests/ecma_3/Function/browser.js => js/src/tests/ecma_3/Function/browser.js rename : js/tests/ecma_3/Function/call-001.js => js/src/tests/ecma_3/Function/call-001.js rename : js/tests/ecma_3/Function/regress-131964.js => js/src/tests/ecma_3/Function/regress-131964.js rename : js/tests/ecma_3/Function/regress-137181.js => js/src/tests/ecma_3/Function/regress-137181.js rename : js/tests/ecma_3/Function/regress-193555.js => js/src/tests/ecma_3/Function/regress-193555.js rename : js/tests/ecma_3/Function/regress-313570.js => js/src/tests/ecma_3/Function/regress-313570.js rename : js/tests/ecma_3/Function/regress-49286.js => js/src/tests/ecma_3/Function/regress-49286.js rename : js/tests/ecma_3/Function/regress-58274.js => js/src/tests/ecma_3/Function/regress-58274.js rename : js/tests/ecma_3/Function/regress-85880.js => js/src/tests/ecma_3/Function/regress-85880.js rename : js/tests/ecma_3/Function/regress-94506.js => js/src/tests/ecma_3/Function/regress-94506.js rename : js/tests/ecma_3/Function/regress-97921.js => js/src/tests/ecma_3/Function/regress-97921.js rename : js/tests/ecma_3/Function/scope-001.js => js/src/tests/ecma_3/Function/scope-001.js rename : js/tests/ecma_3/Function/scope-002.js => js/src/tests/ecma_3/Function/scope-002.js rename : js/tests/ecma_3/Function/shell.js => js/src/tests/ecma_3/Function/shell.js rename : js/tests/ecma_3/LexicalConventions/7.4-01.js => js/src/tests/ecma_3/LexicalConventions/7.4-01.js rename : js/tests/ecma_3/LexicalConventions/7.9.1.js => js/src/tests/ecma_3/LexicalConventions/7.9.1.js rename : js/tests/ecma_3/LexicalConventions/browser.js => js/src/tests/ecma_3/LexicalConventions/browser.js rename : js/tests/ecma_3/LexicalConventions/shell.js => js/src/tests/ecma_3/LexicalConventions/shell.js rename : js/tests/ecma_3/Number/15.7.4.2-01.js => js/src/tests/ecma_3/Number/15.7.4.2-01.js rename : js/tests/ecma_3/Number/15.7.4.3-01.js => js/src/tests/ecma_3/Number/15.7.4.3-01.js rename : js/tests/ecma_3/Number/15.7.4.3-02.js => js/src/tests/ecma_3/Number/15.7.4.3-02.js rename : js/tests/ecma_3/Number/15.7.4.5-1.js => js/src/tests/ecma_3/Number/15.7.4.5-1.js rename : js/tests/ecma_3/Number/15.7.4.5-2.js => js/src/tests/ecma_3/Number/15.7.4.5-2.js rename : js/tests/ecma_3/Number/15.7.4.6-1.js => js/src/tests/ecma_3/Number/15.7.4.6-1.js rename : js/tests/ecma_3/Number/15.7.4.7-1.js => js/src/tests/ecma_3/Number/15.7.4.7-1.js rename : js/tests/ecma_3/Number/15.7.4.7-2.js => js/src/tests/ecma_3/Number/15.7.4.7-2.js rename : js/tests/ecma_3/Number/browser.js => js/src/tests/ecma_3/Number/browser.js rename : js/tests/ecma_3/Number/regress-442242-01.js => js/src/tests/ecma_3/Number/regress-442242-01.js rename : js/tests/ecma_3/Number/shell.js => js/src/tests/ecma_3/Number/shell.js rename : js/tests/ecma_3/NumberFormatting/browser.js => js/src/tests/ecma_3/NumberFormatting/browser.js rename : js/tests/ecma_3/NumberFormatting/shell.js => js/src/tests/ecma_3/NumberFormatting/shell.js rename : js/tests/ecma_3/NumberFormatting/tostring-001.js => js/src/tests/ecma_3/NumberFormatting/tostring-001.js rename : js/tests/ecma_3/Object/8.6.1-01.js => js/src/tests/ecma_3/Object/8.6.1-01.js rename : js/tests/ecma_3/Object/8.6.2.6-001.js => js/src/tests/ecma_3/Object/8.6.2.6-001.js rename : js/tests/ecma_3/Object/8.6.2.6-002.js => js/src/tests/ecma_3/Object/8.6.2.6-002.js rename : js/tests/ecma_3/Object/browser.js => js/src/tests/ecma_3/Object/browser.js rename : js/tests/ecma_3/Object/class-001.js => js/src/tests/ecma_3/Object/class-001.js rename : js/tests/ecma_3/Object/class-002.js => js/src/tests/ecma_3/Object/class-002.js rename : js/tests/ecma_3/Object/class-003.js => js/src/tests/ecma_3/Object/class-003.js rename : js/tests/ecma_3/Object/class-004.js => js/src/tests/ecma_3/Object/class-004.js rename : js/tests/ecma_3/Object/class-005.js => js/src/tests/ecma_3/Object/class-005.js rename : js/tests/ecma_3/Object/regress-361274.js => js/src/tests/ecma_3/Object/regress-361274.js rename : js/tests/ecma_3/Object/regress-385393-07.js => js/src/tests/ecma_3/Object/regress-385393-07.js rename : js/tests/ecma_3/Object/regress-459405.js => js/src/tests/ecma_3/Object/regress-459405.js rename : js/tests/ecma_3/Object/regress-72773.js => js/src/tests/ecma_3/Object/regress-72773.js rename : js/tests/ecma_3/Object/regress-79129-001.js => js/src/tests/ecma_3/Object/regress-79129-001.js rename : js/tests/ecma_3/Object/shell.js => js/src/tests/ecma_3/Object/shell.js rename : js/tests/ecma_3/Operators/11.13.1-001.js => js/src/tests/ecma_3/Operators/11.13.1-001.js rename : js/tests/ecma_3/Operators/11.13.1-002.js => js/src/tests/ecma_3/Operators/11.13.1-002.js rename : js/tests/ecma_3/Operators/11.4.1-001.js => js/src/tests/ecma_3/Operators/11.4.1-001.js rename : js/tests/ecma_3/Operators/11.4.1-002.js => js/src/tests/ecma_3/Operators/11.4.1-002.js rename : js/tests/ecma_3/Operators/browser.js => js/src/tests/ecma_3/Operators/browser.js rename : js/tests/ecma_3/Operators/order-01.js => js/src/tests/ecma_3/Operators/order-01.js rename : js/tests/ecma_3/Operators/shell.js => js/src/tests/ecma_3/Operators/shell.js rename : js/tests/ecma_3/README => js/src/tests/ecma_3/README rename : js/tests/ecma_3/RegExp/15.10.2-1.js => js/src/tests/ecma_3/RegExp/15.10.2-1.js rename : js/tests/ecma_3/RegExp/15.10.2.12.js => js/src/tests/ecma_3/RegExp/15.10.2.12.js rename : js/tests/ecma_3/RegExp/15.10.3.1-1.js => js/src/tests/ecma_3/RegExp/15.10.3.1-1.js rename : js/tests/ecma_3/RegExp/15.10.3.1-2.js => js/src/tests/ecma_3/RegExp/15.10.3.1-2.js rename : js/tests/ecma_3/RegExp/15.10.4.1-1.js => js/src/tests/ecma_3/RegExp/15.10.4.1-1.js rename : js/tests/ecma_3/RegExp/15.10.4.1-2.js => js/src/tests/ecma_3/RegExp/15.10.4.1-2.js rename : js/tests/ecma_3/RegExp/15.10.4.1-3.js => js/src/tests/ecma_3/RegExp/15.10.4.1-3.js rename : js/tests/ecma_3/RegExp/15.10.4.1-4.js => js/src/tests/ecma_3/RegExp/15.10.4.1-4.js rename : js/tests/ecma_3/RegExp/15.10.4.1-5-n.js => js/src/tests/ecma_3/RegExp/15.10.4.1-5-n.js rename : js/tests/ecma_3/RegExp/15.10.4.1-6.js => js/src/tests/ecma_3/RegExp/15.10.4.1-6.js rename : js/tests/ecma_3/RegExp/15.10.6.2-1.js => js/src/tests/ecma_3/RegExp/15.10.6.2-1.js rename : js/tests/ecma_3/RegExp/15.10.6.2-2.js => js/src/tests/ecma_3/RegExp/15.10.6.2-2.js rename : js/tests/ecma_3/RegExp/browser.js => js/src/tests/ecma_3/RegExp/browser.js rename : js/tests/ecma_3/RegExp/octal-001.js => js/src/tests/ecma_3/RegExp/octal-001.js rename : js/tests/ecma_3/RegExp/octal-002.js => js/src/tests/ecma_3/RegExp/octal-002.js rename : js/tests/ecma_3/RegExp/perlstress-001.js => js/src/tests/ecma_3/RegExp/perlstress-001.js rename : js/tests/ecma_3/RegExp/perlstress-002.js => js/src/tests/ecma_3/RegExp/perlstress-002.js rename : js/tests/ecma_3/RegExp/regress-100199.js => js/src/tests/ecma_3/RegExp/regress-100199.js rename : js/tests/ecma_3/RegExp/regress-105972.js => js/src/tests/ecma_3/RegExp/regress-105972.js rename : js/tests/ecma_3/RegExp/regress-119909.js => js/src/tests/ecma_3/RegExp/regress-119909.js rename : js/tests/ecma_3/RegExp/regress-122076.js => js/src/tests/ecma_3/RegExp/regress-122076.js rename : js/tests/ecma_3/RegExp/regress-123437.js => js/src/tests/ecma_3/RegExp/regress-123437.js rename : js/tests/ecma_3/RegExp/regress-165353.js => js/src/tests/ecma_3/RegExp/regress-165353.js rename : js/tests/ecma_3/RegExp/regress-169497.js => js/src/tests/ecma_3/RegExp/regress-169497.js rename : js/tests/ecma_3/RegExp/regress-169534.js => js/src/tests/ecma_3/RegExp/regress-169534.js rename : js/tests/ecma_3/RegExp/regress-187133.js => js/src/tests/ecma_3/RegExp/regress-187133.js rename : js/tests/ecma_3/RegExp/regress-188206.js => js/src/tests/ecma_3/RegExp/regress-188206.js rename : js/tests/ecma_3/RegExp/regress-191479.js => js/src/tests/ecma_3/RegExp/regress-191479.js rename : js/tests/ecma_3/RegExp/regress-202564.js => js/src/tests/ecma_3/RegExp/regress-202564.js rename : js/tests/ecma_3/RegExp/regress-209067.js => js/src/tests/ecma_3/RegExp/regress-209067.js rename : js/tests/ecma_3/RegExp/regress-209919.js => js/src/tests/ecma_3/RegExp/regress-209919.js rename : js/tests/ecma_3/RegExp/regress-216591.js => js/src/tests/ecma_3/RegExp/regress-216591.js rename : js/tests/ecma_3/RegExp/regress-220367-001.js => js/src/tests/ecma_3/RegExp/regress-220367-001.js rename : js/tests/ecma_3/RegExp/regress-223273.js => js/src/tests/ecma_3/RegExp/regress-223273.js rename : js/tests/ecma_3/RegExp/regress-223535.js => js/src/tests/ecma_3/RegExp/regress-223535.js rename : js/tests/ecma_3/RegExp/regress-224676.js => js/src/tests/ecma_3/RegExp/regress-224676.js rename : js/tests/ecma_3/RegExp/regress-225289.js => js/src/tests/ecma_3/RegExp/regress-225289.js rename : js/tests/ecma_3/RegExp/regress-225343.js => js/src/tests/ecma_3/RegExp/regress-225343.js rename : js/tests/ecma_3/RegExp/regress-24712.js => js/src/tests/ecma_3/RegExp/regress-24712.js rename : js/tests/ecma_3/RegExp/regress-285219.js => js/src/tests/ecma_3/RegExp/regress-285219.js rename : js/tests/ecma_3/RegExp/regress-28686.js => js/src/tests/ecma_3/RegExp/regress-28686.js rename : js/tests/ecma_3/RegExp/regress-289669.js => js/src/tests/ecma_3/RegExp/regress-289669.js rename : js/tests/ecma_3/RegExp/regress-307456.js => js/src/tests/ecma_3/RegExp/regress-307456.js rename : js/tests/ecma_3/RegExp/regress-309840.js => js/src/tests/ecma_3/RegExp/regress-309840.js rename : js/tests/ecma_3/RegExp/regress-311414.js => js/src/tests/ecma_3/RegExp/regress-311414.js rename : js/tests/ecma_3/RegExp/regress-312351.js => js/src/tests/ecma_3/RegExp/regress-312351.js rename : js/tests/ecma_3/RegExp/regress-31316.js => js/src/tests/ecma_3/RegExp/regress-31316.js rename : js/tests/ecma_3/RegExp/regress-330684.js => js/src/tests/ecma_3/RegExp/regress-330684.js rename : js/tests/ecma_3/RegExp/regress-334158.js => js/src/tests/ecma_3/RegExp/regress-334158.js rename : js/tests/ecma_3/RegExp/regress-346090.js => js/src/tests/ecma_3/RegExp/regress-346090.js rename : js/tests/ecma_3/RegExp/regress-367888.js => js/src/tests/ecma_3/RegExp/regress-367888.js rename : js/tests/ecma_3/RegExp/regress-375642.js => js/src/tests/ecma_3/RegExp/regress-375642.js rename : js/tests/ecma_3/RegExp/regress-375711.js => js/src/tests/ecma_3/RegExp/regress-375711.js rename : js/tests/ecma_3/RegExp/regress-375715-01-n.js => js/src/tests/ecma_3/RegExp/regress-375715-01-n.js rename : js/tests/ecma_3/RegExp/regress-375715-02.js => js/src/tests/ecma_3/RegExp/regress-375715-02.js rename : js/tests/ecma_3/RegExp/regress-375715-03.js => js/src/tests/ecma_3/RegExp/regress-375715-03.js rename : js/tests/ecma_3/RegExp/regress-375715-04.js => js/src/tests/ecma_3/RegExp/regress-375715-04.js rename : js/tests/ecma_3/RegExp/regress-436700.js => js/src/tests/ecma_3/RegExp/regress-436700.js rename : js/tests/ecma_3/RegExp/regress-465862.js => js/src/tests/ecma_3/RegExp/regress-465862.js rename : js/tests/ecma_3/RegExp/regress-57572.js => js/src/tests/ecma_3/RegExp/regress-57572.js rename : js/tests/ecma_3/RegExp/regress-57631.js => js/src/tests/ecma_3/RegExp/regress-57631.js rename : js/tests/ecma_3/RegExp/regress-67773.js => js/src/tests/ecma_3/RegExp/regress-67773.js rename : js/tests/ecma_3/RegExp/regress-72964.js => js/src/tests/ecma_3/RegExp/regress-72964.js rename : js/tests/ecma_3/RegExp/regress-76683.js => js/src/tests/ecma_3/RegExp/regress-76683.js rename : js/tests/ecma_3/RegExp/regress-78156.js => js/src/tests/ecma_3/RegExp/regress-78156.js rename : js/tests/ecma_3/RegExp/regress-85721.js => js/src/tests/ecma_3/RegExp/regress-85721.js rename : js/tests/ecma_3/RegExp/regress-87231.js => js/src/tests/ecma_3/RegExp/regress-87231.js rename : js/tests/ecma_3/RegExp/regress-98306.js => js/src/tests/ecma_3/RegExp/regress-98306.js rename : js/tests/ecma_3/RegExp/shell.js => js/src/tests/ecma_3/RegExp/shell.js rename : js/tests/ecma_3/Regress/browser.js => js/src/tests/ecma_3/Regress/browser.js rename : js/tests/ecma_3/Regress/regress-385393-04.js => js/src/tests/ecma_3/Regress/regress-385393-04.js rename : js/tests/ecma_3/Regress/regress-419152.js => js/src/tests/ecma_3/Regress/regress-419152.js rename : js/tests/ecma_3/Regress/regress-420087.js => js/src/tests/ecma_3/Regress/regress-420087.js rename : js/tests/ecma_3/Regress/regress-420610.js => js/src/tests/ecma_3/Regress/regress-420610.js rename : js/tests/ecma_3/Regress/regress-441477-01.js => js/src/tests/ecma_3/Regress/regress-441477-01.js rename : js/tests/ecma_3/Regress/regress-469937.js => js/src/tests/ecma_3/Regress/regress-469937.js rename : js/tests/ecma_3/Regress/shell.js => js/src/tests/ecma_3/Regress/shell.js rename : js/tests/ecma_3/Statements/12.10-01.js => js/src/tests/ecma_3/Statements/12.10-01.js rename : js/tests/ecma_3/Statements/12.6.3.js => js/src/tests/ecma_3/Statements/12.6.3.js rename : js/tests/ecma_3/Statements/browser.js => js/src/tests/ecma_3/Statements/browser.js rename : js/tests/ecma_3/Statements/regress-121744.js => js/src/tests/ecma_3/Statements/regress-121744.js rename : js/tests/ecma_3/Statements/regress-131348.js => js/src/tests/ecma_3/Statements/regress-131348.js rename : js/tests/ecma_3/Statements/regress-157509.js => js/src/tests/ecma_3/Statements/regress-157509.js rename : js/tests/ecma_3/Statements/regress-194364.js => js/src/tests/ecma_3/Statements/regress-194364.js rename : js/tests/ecma_3/Statements/regress-226517.js => js/src/tests/ecma_3/Statements/regress-226517.js rename : js/tests/ecma_3/Statements/regress-302439.js => js/src/tests/ecma_3/Statements/regress-302439.js rename : js/tests/ecma_3/Statements/regress-324650.js => js/src/tests/ecma_3/Statements/regress-324650.js rename : js/tests/ecma_3/Statements/regress-444979.js => js/src/tests/ecma_3/Statements/regress-444979.js rename : js/tests/ecma_3/Statements/regress-74474-001.js => js/src/tests/ecma_3/Statements/regress-74474-001.js rename : js/tests/ecma_3/Statements/regress-74474-002.js => js/src/tests/ecma_3/Statements/regress-74474-002.js rename : js/tests/ecma_3/Statements/regress-74474-003.js => js/src/tests/ecma_3/Statements/regress-74474-003.js rename : js/tests/ecma_3/Statements/regress-83532-001.js => js/src/tests/ecma_3/Statements/regress-83532-001.js rename : js/tests/ecma_3/Statements/regress-83532-002.js => js/src/tests/ecma_3/Statements/regress-83532-002.js rename : js/tests/ecma_3/Statements/shell.js => js/src/tests/ecma_3/Statements/shell.js rename : js/tests/ecma_3/Statements/switch-001.js => js/src/tests/ecma_3/Statements/switch-001.js rename : js/tests/ecma_3/String/15.5.4.11.js => js/src/tests/ecma_3/String/15.5.4.11.js rename : js/tests/ecma_3/String/15.5.4.14.js => js/src/tests/ecma_3/String/15.5.4.14.js rename : js/tests/ecma_3/String/browser.js => js/src/tests/ecma_3/String/browser.js rename : js/tests/ecma_3/String/regress-104375.js => js/src/tests/ecma_3/String/regress-104375.js rename : js/tests/ecma_3/String/regress-189898.js => js/src/tests/ecma_3/String/regress-189898.js rename : js/tests/ecma_3/String/regress-304376.js => js/src/tests/ecma_3/String/regress-304376.js rename : js/tests/ecma_3/String/regress-313567.js => js/src/tests/ecma_3/String/regress-313567.js rename : js/tests/ecma_3/String/regress-392378.js => js/src/tests/ecma_3/String/regress-392378.js rename : js/tests/ecma_3/String/regress-83293.js => js/src/tests/ecma_3/String/regress-83293.js rename : js/tests/ecma_3/String/shell.js => js/src/tests/ecma_3/String/shell.js rename : js/tests/ecma_3/Unicode/browser.js => js/src/tests/ecma_3/Unicode/browser.js rename : js/tests/ecma_3/Unicode/regress-352044-01.js => js/src/tests/ecma_3/Unicode/regress-352044-01.js rename : js/tests/ecma_3/Unicode/regress-352044-02-n.js => js/src/tests/ecma_3/Unicode/regress-352044-02-n.js rename : js/tests/ecma_3/Unicode/shell.js => js/src/tests/ecma_3/Unicode/shell.js rename : js/tests/ecma_3/Unicode/uc-001-n.js => js/src/tests/ecma_3/Unicode/uc-001-n.js rename : js/tests/ecma_3/Unicode/uc-001.js => js/src/tests/ecma_3/Unicode/uc-001.js rename : js/tests/ecma_3/Unicode/uc-002-n.js => js/src/tests/ecma_3/Unicode/uc-002-n.js rename : js/tests/ecma_3/Unicode/uc-002.js => js/src/tests/ecma_3/Unicode/uc-002.js rename : js/tests/ecma_3/Unicode/uc-003.js => js/src/tests/ecma_3/Unicode/uc-003.js rename : js/tests/ecma_3/Unicode/uc-004.js => js/src/tests/ecma_3/Unicode/uc-004.js rename : js/tests/ecma_3/Unicode/uc-005.js => js/src/tests/ecma_3/Unicode/uc-005.js rename : js/tests/ecma_3/browser.js => js/src/tests/ecma_3/browser.js rename : js/tests/ecma_3/extensions/10.1.3-2.js => js/src/tests/ecma_3/extensions/10.1.3-2.js rename : js/tests/ecma_3/extensions/7.9.1.js => js/src/tests/ecma_3/extensions/7.9.1.js rename : js/tests/ecma_3/extensions/browser.js => js/src/tests/ecma_3/extensions/browser.js rename : js/tests/ecma_3/extensions/regress-103087.js => js/src/tests/ecma_3/extensions/regress-103087.js rename : js/tests/ecma_3/extensions/regress-188206-01.js => js/src/tests/ecma_3/extensions/regress-188206-01.js rename : js/tests/ecma_3/extensions/regress-188206-02.js => js/src/tests/ecma_3/extensions/regress-188206-02.js rename : js/tests/ecma_3/extensions/regress-220367-002.js => js/src/tests/ecma_3/extensions/regress-220367-002.js rename : js/tests/ecma_3/extensions/regress-228087.js => js/src/tests/ecma_3/extensions/regress-228087.js rename : js/tests/ecma_3/extensions/regress-274152.js => js/src/tests/ecma_3/extensions/regress-274152.js rename : js/tests/ecma_3/extensions/regress-320854.js => js/src/tests/ecma_3/extensions/regress-320854.js rename : js/tests/ecma_3/extensions/regress-327170.js => js/src/tests/ecma_3/extensions/regress-327170.js rename : js/tests/ecma_3/extensions/regress-368516.js => js/src/tests/ecma_3/extensions/regress-368516.js rename : js/tests/ecma_3/extensions/regress-385393-03.js => js/src/tests/ecma_3/extensions/regress-385393-03.js rename : js/tests/ecma_3/extensions/regress-429248.js => js/src/tests/ecma_3/extensions/regress-429248.js rename : js/tests/ecma_3/extensions/regress-430740.js => js/src/tests/ecma_3/extensions/regress-430740.js rename : js/tests/ecma_3/extensions/shell.js => js/src/tests/ecma_3/extensions/shell.js rename : js/tests/ecma_3/shell.js => js/src/tests/ecma_3/shell.js rename : js/tests/ecma_3/template.js => js/src/tests/ecma_3/template.js rename : js/tests/ecma_3_1/Object/browser.js => js/src/tests/ecma_3_1/Object/browser.js rename : js/tests/ecma_3_1/Object/regress-444787.js => js/src/tests/ecma_3_1/Object/regress-444787.js rename : js/tests/ecma_3_1/Object/shell.js => js/src/tests/ecma_3_1/Object/shell.js rename : js/tests/ecma_3_1/README => js/src/tests/ecma_3_1/README rename : js/tests/ecma_3_1/RegExp/browser.js => js/src/tests/ecma_3_1/RegExp/browser.js rename : js/tests/ecma_3_1/RegExp/regress-305064.js => js/src/tests/ecma_3_1/RegExp/regress-305064.js rename : js/tests/ecma_3_1/RegExp/shell.js => js/src/tests/ecma_3_1/RegExp/shell.js rename : js/tests/ecma_3_1/browser.js => js/src/tests/ecma_3_1/browser.js rename : js/tests/ecma_3_1/extensions/browser.js => js/src/tests/ecma_3_1/extensions/browser.js rename : js/tests/ecma_3_1/extensions/regress-478047.js => js/src/tests/ecma_3_1/extensions/regress-478047.js rename : js/tests/ecma_3_1/extensions/shell.js => js/src/tests/ecma_3_1/extensions/shell.js rename : js/tests/ecma_3_1/shell.js => js/src/tests/ecma_3_1/shell.js rename : js/tests/ecma_3_1/template.js => js/src/tests/ecma_3_1/template.js rename : js/tests/ecma_5/Date/15.9.4.2.js => js/src/tests/ecma_5/Date/15.9.4.2.js rename : js/tests/ecma_5/Date/browser.js => js/src/tests/ecma_5/Date/browser.js rename : js/tests/ecma_5/Date/shell.js => js/src/tests/ecma_5/Date/shell.js rename : js/tests/ecma_5/Object/15.2.3.14-01.js => js/src/tests/ecma_5/Object/15.2.3.14-01.js rename : js/tests/ecma_5/Object/15.2.3.3-01.js => js/src/tests/ecma_5/Object/15.2.3.3-01.js rename : js/tests/ecma_5/Object/browser.js => js/src/tests/ecma_5/Object/browser.js rename : js/tests/ecma_5/Object/shell.js => js/src/tests/ecma_5/Object/shell.js rename : js/tests/ecma_5/README => js/src/tests/ecma_5/README rename : js/tests/ecma_5/browser.js => js/src/tests/ecma_5/browser.js rename : js/tests/ecma_5/shell.js => js/src/tests/ecma_5/shell.js rename : js/tests/ecma_5/template.js => js/src/tests/ecma_5/template.js rename : js/tests/get-universe.sh => js/src/tests/get-universe.sh rename : js/tests/importList.html => js/src/tests/importList.html rename : js/tests/importList.js => js/src/tests/importList.js rename : js/tests/js-test-driver-begin.js => js/src/tests/js-test-driver-begin.js rename : js/tests/js-test-driver-end.js => js/src/tests/js-test-driver-end.js rename : js/tests/js-test-driver-quirks.html => js/src/tests/js-test-driver-quirks.html rename : js/tests/js-test-driver-standards.html => js/src/tests/js-test-driver-standards.html rename : js/tests/js1_1/README => js/src/tests/js1_1/README rename : js/tests/js1_1/browser.js => js/src/tests/js1_1/browser.js rename : js/tests/js1_1/jsref.js => js/src/tests/js1_1/jsref.js rename : js/tests/js1_1/regress/browser.js => js/src/tests/js1_1/regress/browser.js rename : js/tests/js1_1/regress/function-001.js => js/src/tests/js1_1/regress/function-001.js rename : js/tests/js1_1/regress/shell.js => js/src/tests/js1_1/regress/shell.js rename : js/tests/js1_1/shell.js => js/src/tests/js1_1/shell.js rename : js/tests/js1_2/Array/array_split_1.js => js/src/tests/js1_2/Array/array_split_1.js rename : js/tests/js1_2/Array/browser.js => js/src/tests/js1_2/Array/browser.js rename : js/tests/js1_2/Array/general1.js => js/src/tests/js1_2/Array/general1.js rename : js/tests/js1_2/Array/general2.js => js/src/tests/js1_2/Array/general2.js rename : js/tests/js1_2/Array/shell.js => js/src/tests/js1_2/Array/shell.js rename : js/tests/js1_2/Array/slice.js => js/src/tests/js1_2/Array/slice.js rename : js/tests/js1_2/Array/splice1.js => js/src/tests/js1_2/Array/splice1.js rename : js/tests/js1_2/Array/splice2.js => js/src/tests/js1_2/Array/splice2.js rename : js/tests/js1_2/Array/tostring_1.js => js/src/tests/js1_2/Array/tostring_1.js rename : js/tests/js1_2/Array/tostring_2.js => js/src/tests/js1_2/Array/tostring_2.js rename : js/tests/js1_2/Objects/browser.js => js/src/tests/js1_2/Objects/browser.js rename : js/tests/js1_2/Objects/shell.js => js/src/tests/js1_2/Objects/shell.js rename : js/tests/js1_2/Objects/toString-001.js => js/src/tests/js1_2/Objects/toString-001.js rename : js/tests/js1_2/README => js/src/tests/js1_2/README rename : js/tests/js1_2/String/browser.js => js/src/tests/js1_2/String/browser.js rename : js/tests/js1_2/String/charCodeAt.js => js/src/tests/js1_2/String/charCodeAt.js rename : js/tests/js1_2/String/concat.js => js/src/tests/js1_2/String/concat.js rename : js/tests/js1_2/String/match.js => js/src/tests/js1_2/String/match.js rename : js/tests/js1_2/String/shell.js => js/src/tests/js1_2/String/shell.js rename : js/tests/js1_2/String/slice.js => js/src/tests/js1_2/String/slice.js rename : js/tests/js1_2/browser.js => js/src/tests/js1_2/browser.js rename : js/tests/js1_2/function/Function_object.js => js/src/tests/js1_2/function/Function_object.js rename : js/tests/js1_2/function/Number.js => js/src/tests/js1_2/function/Number.js rename : js/tests/js1_2/function/String.js => js/src/tests/js1_2/function/String.js rename : js/tests/js1_2/function/browser.js => js/src/tests/js1_2/function/browser.js rename : js/tests/js1_2/function/definition-1.js => js/src/tests/js1_2/function/definition-1.js rename : js/tests/js1_2/function/function-001-n.js => js/src/tests/js1_2/function/function-001-n.js rename : js/tests/js1_2/function/length.js => js/src/tests/js1_2/function/length.js rename : js/tests/js1_2/function/nesting-1.js => js/src/tests/js1_2/function/nesting-1.js rename : js/tests/js1_2/function/nesting.js => js/src/tests/js1_2/function/nesting.js rename : js/tests/js1_2/function/regexparg-1.js => js/src/tests/js1_2/function/regexparg-1.js rename : js/tests/js1_2/function/regexparg-2-n.js => js/src/tests/js1_2/function/regexparg-2-n.js rename : js/tests/js1_2/function/shell.js => js/src/tests/js1_2/function/shell.js rename : js/tests/js1_2/function/tostring-1.js => js/src/tests/js1_2/function/tostring-1.js rename : js/tests/js1_2/function/tostring-2.js => js/src/tests/js1_2/function/tostring-2.js rename : js/tests/js1_2/jsref.js => js/src/tests/js1_2/jsref.js rename : js/tests/js1_2/operator/browser.js => js/src/tests/js1_2/operator/browser.js rename : js/tests/js1_2/operator/equality.js => js/src/tests/js1_2/operator/equality.js rename : js/tests/js1_2/operator/shell.js => js/src/tests/js1_2/operator/shell.js rename : js/tests/js1_2/operator/strictEquality.js => js/src/tests/js1_2/operator/strictEquality.js rename : js/tests/js1_2/regexp/RegExp_dollar_number.js => js/src/tests/js1_2/regexp/RegExp_dollar_number.js rename : js/tests/js1_2/regexp/RegExp_input.js => js/src/tests/js1_2/regexp/RegExp_input.js rename : js/tests/js1_2/regexp/RegExp_input_as_array.js => js/src/tests/js1_2/regexp/RegExp_input_as_array.js rename : js/tests/js1_2/regexp/RegExp_lastIndex.js => js/src/tests/js1_2/regexp/RegExp_lastIndex.js rename : js/tests/js1_2/regexp/RegExp_lastMatch.js => js/src/tests/js1_2/regexp/RegExp_lastMatch.js rename : js/tests/js1_2/regexp/RegExp_lastMatch_as_array.js => js/src/tests/js1_2/regexp/RegExp_lastMatch_as_array.js rename : js/tests/js1_2/regexp/RegExp_lastParen.js => js/src/tests/js1_2/regexp/RegExp_lastParen.js rename : js/tests/js1_2/regexp/RegExp_lastParen_as_array.js => js/src/tests/js1_2/regexp/RegExp_lastParen_as_array.js rename : js/tests/js1_2/regexp/RegExp_leftContext.js => js/src/tests/js1_2/regexp/RegExp_leftContext.js rename : js/tests/js1_2/regexp/RegExp_leftContext_as_array.js => js/src/tests/js1_2/regexp/RegExp_leftContext_as_array.js rename : js/tests/js1_2/regexp/RegExp_multiline.js => js/src/tests/js1_2/regexp/RegExp_multiline.js rename : js/tests/js1_2/regexp/RegExp_multiline_as_array.js => js/src/tests/js1_2/regexp/RegExp_multiline_as_array.js rename : js/tests/js1_2/regexp/RegExp_object.js => js/src/tests/js1_2/regexp/RegExp_object.js rename : js/tests/js1_2/regexp/RegExp_rightContext.js => js/src/tests/js1_2/regexp/RegExp_rightContext.js rename : js/tests/js1_2/regexp/RegExp_rightContext_as_array.js => js/src/tests/js1_2/regexp/RegExp_rightContext_as_array.js rename : js/tests/js1_2/regexp/alphanumeric.js => js/src/tests/js1_2/regexp/alphanumeric.js rename : js/tests/js1_2/regexp/asterisk.js => js/src/tests/js1_2/regexp/asterisk.js rename : js/tests/js1_2/regexp/backslash.js => js/src/tests/js1_2/regexp/backslash.js rename : js/tests/js1_2/regexp/backspace.js => js/src/tests/js1_2/regexp/backspace.js rename : js/tests/js1_2/regexp/beginLine.js => js/src/tests/js1_2/regexp/beginLine.js rename : js/tests/js1_2/regexp/browser.js => js/src/tests/js1_2/regexp/browser.js rename : js/tests/js1_2/regexp/character_class.js => js/src/tests/js1_2/regexp/character_class.js rename : js/tests/js1_2/regexp/compile.js => js/src/tests/js1_2/regexp/compile.js rename : js/tests/js1_2/regexp/control_characters.js => js/src/tests/js1_2/regexp/control_characters.js rename : js/tests/js1_2/regexp/digit.js => js/src/tests/js1_2/regexp/digit.js rename : js/tests/js1_2/regexp/dot.js => js/src/tests/js1_2/regexp/dot.js rename : js/tests/js1_2/regexp/endLine.js => js/src/tests/js1_2/regexp/endLine.js rename : js/tests/js1_2/regexp/everything.js => js/src/tests/js1_2/regexp/everything.js rename : js/tests/js1_2/regexp/exec.js => js/src/tests/js1_2/regexp/exec.js rename : js/tests/js1_2/regexp/flags.js => js/src/tests/js1_2/regexp/flags.js rename : js/tests/js1_2/regexp/global.js => js/src/tests/js1_2/regexp/global.js rename : js/tests/js1_2/regexp/hexadecimal.js => js/src/tests/js1_2/regexp/hexadecimal.js rename : js/tests/js1_2/regexp/ignoreCase.js => js/src/tests/js1_2/regexp/ignoreCase.js rename : js/tests/js1_2/regexp/interval.js => js/src/tests/js1_2/regexp/interval.js rename : js/tests/js1_2/regexp/octal.js => js/src/tests/js1_2/regexp/octal.js rename : js/tests/js1_2/regexp/parentheses.js => js/src/tests/js1_2/regexp/parentheses.js rename : js/tests/js1_2/regexp/plus.js => js/src/tests/js1_2/regexp/plus.js rename : js/tests/js1_2/regexp/question_mark.js => js/src/tests/js1_2/regexp/question_mark.js rename : js/tests/js1_2/regexp/regress-6359.js => js/src/tests/js1_2/regexp/regress-6359.js rename : js/tests/js1_2/regexp/regress-9141.js => js/src/tests/js1_2/regexp/regress-9141.js rename : js/tests/js1_2/regexp/shell.js => js/src/tests/js1_2/regexp/shell.js rename : js/tests/js1_2/regexp/simple_form.js => js/src/tests/js1_2/regexp/simple_form.js rename : js/tests/js1_2/regexp/source.js => js/src/tests/js1_2/regexp/source.js rename : js/tests/js1_2/regexp/special_characters.js => js/src/tests/js1_2/regexp/special_characters.js rename : js/tests/js1_2/regexp/string_replace.js => js/src/tests/js1_2/regexp/string_replace.js rename : js/tests/js1_2/regexp/string_search.js => js/src/tests/js1_2/regexp/string_search.js rename : js/tests/js1_2/regexp/string_split.js => js/src/tests/js1_2/regexp/string_split.js rename : js/tests/js1_2/regexp/test.js => js/src/tests/js1_2/regexp/test.js rename : js/tests/js1_2/regexp/toString.js => js/src/tests/js1_2/regexp/toString.js rename : js/tests/js1_2/regexp/vertical_bar.js => js/src/tests/js1_2/regexp/vertical_bar.js rename : js/tests/js1_2/regexp/whitespace.js => js/src/tests/js1_2/regexp/whitespace.js rename : js/tests/js1_2/regexp/word_boundary.js => js/src/tests/js1_2/regexp/word_boundary.js rename : js/tests/js1_2/regress/browser.js => js/src/tests/js1_2/regress/browser.js rename : js/tests/js1_2/regress/regress-144834.js => js/src/tests/js1_2/regress/regress-144834.js rename : js/tests/js1_2/regress/regress-7703.js => js/src/tests/js1_2/regress/regress-7703.js rename : js/tests/js1_2/regress/shell.js => js/src/tests/js1_2/regress/shell.js rename : js/tests/js1_2/shell.js => js/src/tests/js1_2/shell.js rename : js/tests/js1_2/statements/break.js => js/src/tests/js1_2/statements/break.js rename : js/tests/js1_2/statements/browser.js => js/src/tests/js1_2/statements/browser.js rename : js/tests/js1_2/statements/continue.js => js/src/tests/js1_2/statements/continue.js rename : js/tests/js1_2/statements/do_while.js => js/src/tests/js1_2/statements/do_while.js rename : js/tests/js1_2/statements/shell.js => js/src/tests/js1_2/statements/shell.js rename : js/tests/js1_2/statements/switch.js => js/src/tests/js1_2/statements/switch.js rename : js/tests/js1_2/statements/switch2.js => js/src/tests/js1_2/statements/switch2.js rename : js/tests/js1_2/version120/boolean-001.js => js/src/tests/js1_2/version120/boolean-001.js rename : js/tests/js1_2/version120/browser.js => js/src/tests/js1_2/version120/browser.js rename : js/tests/js1_2/version120/regress-99663.js => js/src/tests/js1_2/version120/regress-99663.js rename : js/tests/js1_2/version120/shell.js => js/src/tests/js1_2/version120/shell.js rename : js/tests/js1_3/Boolean/boolean-001.js => js/src/tests/js1_3/Boolean/boolean-001.js rename : js/tests/js1_3/Boolean/browser.js => js/src/tests/js1_3/Boolean/browser.js rename : js/tests/js1_3/Boolean/shell.js => js/src/tests/js1_3/Boolean/shell.js rename : js/tests/js1_3/README => js/src/tests/js1_3/README rename : js/tests/js1_3/Script/browser.js => js/src/tests/js1_3/Script/browser.js rename : js/tests/js1_3/Script/delete-001.js => js/src/tests/js1_3/Script/delete-001.js rename : js/tests/js1_3/Script/function-001-n.js => js/src/tests/js1_3/Script/function-001-n.js rename : js/tests/js1_3/Script/function-002.js => js/src/tests/js1_3/Script/function-002.js rename : js/tests/js1_3/Script/in-001.js => js/src/tests/js1_3/Script/in-001.js rename : js/tests/js1_3/Script/new-001.js => js/src/tests/js1_3/Script/new-001.js rename : js/tests/js1_3/Script/shell.js => js/src/tests/js1_3/Script/shell.js rename : js/tests/js1_3/Script/switch-001.js => js/src/tests/js1_3/Script/switch-001.js rename : js/tests/js1_3/browser.js => js/src/tests/js1_3/browser.js rename : js/tests/js1_3/extensions/browser.js => js/src/tests/js1_3/extensions/browser.js rename : js/tests/js1_3/extensions/proto_10.js => js/src/tests/js1_3/extensions/proto_10.js rename : js/tests/js1_3/extensions/proto_2.js => js/src/tests/js1_3/extensions/proto_2.js rename : js/tests/js1_3/extensions/proto_5.js => js/src/tests/js1_3/extensions/proto_5.js rename : js/tests/js1_3/extensions/script-001.js => js/src/tests/js1_3/extensions/script-001.js rename : js/tests/js1_3/extensions/shell.js => js/src/tests/js1_3/extensions/shell.js rename : js/tests/js1_3/inherit/browser.js => js/src/tests/js1_3/inherit/browser.js rename : js/tests/js1_3/inherit/proto_1.js => js/src/tests/js1_3/inherit/proto_1.js rename : js/tests/js1_3/inherit/proto_10.js => js/src/tests/js1_3/inherit/proto_10.js rename : js/tests/js1_3/inherit/proto_11.js => js/src/tests/js1_3/inherit/proto_11.js rename : js/tests/js1_3/inherit/proto_12.js => js/src/tests/js1_3/inherit/proto_12.js rename : js/tests/js1_3/inherit/proto_3.js => js/src/tests/js1_3/inherit/proto_3.js rename : js/tests/js1_3/inherit/proto_4.js => js/src/tests/js1_3/inherit/proto_4.js rename : js/tests/js1_3/inherit/proto_6.js => js/src/tests/js1_3/inherit/proto_6.js rename : js/tests/js1_3/inherit/proto_7.js => js/src/tests/js1_3/inherit/proto_7.js rename : js/tests/js1_3/inherit/proto_8.js => js/src/tests/js1_3/inherit/proto_8.js rename : js/tests/js1_3/inherit/proto_9.js => js/src/tests/js1_3/inherit/proto_9.js rename : js/tests/js1_3/inherit/shell.js => js/src/tests/js1_3/inherit/shell.js rename : js/tests/js1_3/jsref.js => js/src/tests/js1_3/jsref.js rename : js/tests/js1_3/misc/browser.js => js/src/tests/js1_3/misc/browser.js rename : js/tests/js1_3/misc/shell.js => js/src/tests/js1_3/misc/shell.js rename : js/tests/js1_3/regress/browser.js => js/src/tests/js1_3/regress/browser.js rename : js/tests/js1_3/regress/delete-001.js => js/src/tests/js1_3/regress/delete-001.js rename : js/tests/js1_3/regress/function-001-n.js => js/src/tests/js1_3/regress/function-001-n.js rename : js/tests/js1_3/regress/function-002.js => js/src/tests/js1_3/regress/function-002.js rename : js/tests/js1_3/regress/in-001.js => js/src/tests/js1_3/regress/in-001.js rename : js/tests/js1_3/regress/new-001.js => js/src/tests/js1_3/regress/new-001.js rename : js/tests/js1_3/regress/shell.js => js/src/tests/js1_3/regress/shell.js rename : js/tests/js1_3/regress/switch-001.js => js/src/tests/js1_3/regress/switch-001.js rename : js/tests/js1_3/shell.js => js/src/tests/js1_3/shell.js rename : js/tests/js1_4/Eval/browser.js => js/src/tests/js1_4/Eval/browser.js rename : js/tests/js1_4/Eval/eval-001.js => js/src/tests/js1_4/Eval/eval-001.js rename : js/tests/js1_4/Eval/eval-002.js => js/src/tests/js1_4/Eval/eval-002.js rename : js/tests/js1_4/Eval/eval-003.js => js/src/tests/js1_4/Eval/eval-003.js rename : js/tests/js1_4/Eval/shell.js => js/src/tests/js1_4/Eval/shell.js rename : js/tests/js1_4/Functions/browser.js => js/src/tests/js1_4/Functions/browser.js rename : js/tests/js1_4/Functions/function-001.js => js/src/tests/js1_4/Functions/function-001.js rename : js/tests/js1_4/Functions/shell.js => js/src/tests/js1_4/Functions/shell.js rename : js/tests/js1_4/README => js/src/tests/js1_4/README rename : js/tests/js1_4/Regress/browser.js => js/src/tests/js1_4/Regress/browser.js rename : js/tests/js1_4/Regress/date-001-n.js => js/src/tests/js1_4/Regress/date-001-n.js rename : js/tests/js1_4/Regress/function-001.js => js/src/tests/js1_4/Regress/function-001.js rename : js/tests/js1_4/Regress/function-002.js => js/src/tests/js1_4/Regress/function-002.js rename : js/tests/js1_4/Regress/function-003.js => js/src/tests/js1_4/Regress/function-003.js rename : js/tests/js1_4/Regress/function-004-n.js => js/src/tests/js1_4/Regress/function-004-n.js rename : js/tests/js1_4/Regress/regress-7224.js => js/src/tests/js1_4/Regress/regress-7224.js rename : js/tests/js1_4/Regress/shell.js => js/src/tests/js1_4/Regress/shell.js rename : js/tests/js1_4/Regress/toString-001-n.js => js/src/tests/js1_4/Regress/toString-001-n.js rename : js/tests/js1_4/browser.js => js/src/tests/js1_4/browser.js rename : js/tests/js1_4/jsref.js => js/src/tests/js1_4/jsref.js rename : js/tests/js1_4/shell.js => js/src/tests/js1_4/shell.js rename : js/tests/js1_5/Array/11.1.4.js => js/src/tests/js1_5/Array/11.1.4.js rename : js/tests/js1_5/Array/array-001.js => js/src/tests/js1_5/Array/array-001.js rename : js/tests/js1_5/Array/browser.js => js/src/tests/js1_5/Array/browser.js rename : js/tests/js1_5/Array/regress-101964.js => js/src/tests/js1_5/Array/regress-101964.js rename : js/tests/js1_5/Array/regress-107138.js => js/src/tests/js1_5/Array/regress-107138.js rename : js/tests/js1_5/Array/regress-108440.js => js/src/tests/js1_5/Array/regress-108440.js rename : js/tests/js1_5/Array/regress-154338.js => js/src/tests/js1_5/Array/regress-154338.js rename : js/tests/js1_5/Array/regress-157652.js => js/src/tests/js1_5/Array/regress-157652.js rename : js/tests/js1_5/Array/regress-178722.js => js/src/tests/js1_5/Array/regress-178722.js rename : js/tests/js1_5/Array/regress-255555.js => js/src/tests/js1_5/Array/regress-255555.js rename : js/tests/js1_5/Array/regress-299644.js => js/src/tests/js1_5/Array/regress-299644.js rename : js/tests/js1_5/Array/regress-300858.js => js/src/tests/js1_5/Array/regress-300858.js rename : js/tests/js1_5/Array/regress-310351.js => js/src/tests/js1_5/Array/regress-310351.js rename : js/tests/js1_5/Array/regress-311515.js => js/src/tests/js1_5/Array/regress-311515.js rename : js/tests/js1_5/Array/regress-313153.js => js/src/tests/js1_5/Array/regress-313153.js rename : js/tests/js1_5/Array/regress-315509-01.js => js/src/tests/js1_5/Array/regress-315509-01.js rename : js/tests/js1_5/Array/regress-330812.js => js/src/tests/js1_5/Array/regress-330812.js rename : js/tests/js1_5/Array/regress-345961.js => js/src/tests/js1_5/Array/regress-345961.js rename : js/tests/js1_5/Array/regress-348810.js => js/src/tests/js1_5/Array/regress-348810.js rename : js/tests/js1_5/Array/regress-350256-01.js => js/src/tests/js1_5/Array/regress-350256-01.js rename : js/tests/js1_5/Array/regress-350256-02.js => js/src/tests/js1_5/Array/regress-350256-02.js rename : js/tests/js1_5/Array/regress-350256-03.js => js/src/tests/js1_5/Array/regress-350256-03.js rename : js/tests/js1_5/Array/regress-360681-01.js => js/src/tests/js1_5/Array/regress-360681-01.js rename : js/tests/js1_5/Array/regress-360681-02.js => js/src/tests/js1_5/Array/regress-360681-02.js rename : js/tests/js1_5/Array/regress-364104.js => js/src/tests/js1_5/Array/regress-364104.js rename : js/tests/js1_5/Array/regress-422286.js => js/src/tests/js1_5/Array/regress-422286.js rename : js/tests/js1_5/Array/regress-424954.js => js/src/tests/js1_5/Array/regress-424954.js rename : js/tests/js1_5/Array/regress-451483.js => js/src/tests/js1_5/Array/regress-451483.js rename : js/tests/js1_5/Array/regress-451906.js => js/src/tests/js1_5/Array/regress-451906.js rename : js/tests/js1_5/Array/regress-456845.js => js/src/tests/js1_5/Array/regress-456845.js rename : js/tests/js1_5/Array/regress-465980-01.js => js/src/tests/js1_5/Array/regress-465980-01.js rename : js/tests/js1_5/Array/regress-465980-02.js => js/src/tests/js1_5/Array/regress-465980-02.js rename : js/tests/js1_5/Array/regress-94257.js => js/src/tests/js1_5/Array/regress-94257.js rename : js/tests/js1_5/Array/regress-99120-01.js => js/src/tests/js1_5/Array/regress-99120-01.js rename : js/tests/js1_5/Array/regress-99120-02.js => js/src/tests/js1_5/Array/regress-99120-02.js rename : js/tests/js1_5/Array/shell.js => js/src/tests/js1_5/Array/shell.js rename : js/tests/js1_5/Date/browser.js => js/src/tests/js1_5/Date/browser.js rename : js/tests/js1_5/Date/regress-188211.js => js/src/tests/js1_5/Date/regress-188211.js rename : js/tests/js1_5/Date/regress-301738-01.js => js/src/tests/js1_5/Date/regress-301738-01.js rename : js/tests/js1_5/Date/regress-301738-02.js => js/src/tests/js1_5/Date/regress-301738-02.js rename : js/tests/js1_5/Date/regress-309925-01.js => js/src/tests/js1_5/Date/regress-309925-01.js rename : js/tests/js1_5/Date/regress-309925-02.js => js/src/tests/js1_5/Date/regress-309925-02.js rename : js/tests/js1_5/Date/regress-346027.js => js/src/tests/js1_5/Date/regress-346027.js rename : js/tests/js1_5/Date/regress-346363.js => js/src/tests/js1_5/Date/regress-346363.js rename : js/tests/js1_5/Date/shell.js => js/src/tests/js1_5/Date/shell.js rename : js/tests/js1_5/Error/browser.js => js/src/tests/js1_5/Error/browser.js rename : js/tests/js1_5/Error/regress-354246.js => js/src/tests/js1_5/Error/regress-354246.js rename : js/tests/js1_5/Error/regress-412324.js => js/src/tests/js1_5/Error/regress-412324.js rename : js/tests/js1_5/Error/regress-465377.js => js/src/tests/js1_5/Error/regress-465377.js rename : js/tests/js1_5/Error/shell.js => js/src/tests/js1_5/Error/shell.js rename : js/tests/js1_5/Exceptions/browser.js => js/src/tests/js1_5/Exceptions/browser.js rename : js/tests/js1_5/Exceptions/catchguard-002-n.js => js/src/tests/js1_5/Exceptions/catchguard-002-n.js rename : js/tests/js1_5/Exceptions/catchguard-003-n.js => js/src/tests/js1_5/Exceptions/catchguard-003-n.js rename : js/tests/js1_5/Exceptions/errstack-001.js => js/src/tests/js1_5/Exceptions/errstack-001.js rename : js/tests/js1_5/Exceptions/regress-121658.js => js/src/tests/js1_5/Exceptions/regress-121658.js rename : js/tests/js1_5/Exceptions/regress-123002.js => js/src/tests/js1_5/Exceptions/regress-123002.js rename : js/tests/js1_5/Exceptions/regress-232182.js => js/src/tests/js1_5/Exceptions/regress-232182.js rename : js/tests/js1_5/Exceptions/regress-257751.js => js/src/tests/js1_5/Exceptions/regress-257751.js rename : js/tests/js1_5/Exceptions/regress-273931.js => js/src/tests/js1_5/Exceptions/regress-273931.js rename : js/tests/js1_5/Exceptions/regress-315147.js => js/src/tests/js1_5/Exceptions/regress-315147.js rename : js/tests/js1_5/Exceptions/regress-332472.js => js/src/tests/js1_5/Exceptions/regress-332472.js rename : js/tests/js1_5/Exceptions/regress-333728.js => js/src/tests/js1_5/Exceptions/regress-333728.js rename : js/tests/js1_5/Exceptions/regress-342359.js => js/src/tests/js1_5/Exceptions/regress-342359.js rename : js/tests/js1_5/Exceptions/regress-347674.js => js/src/tests/js1_5/Exceptions/regress-347674.js rename : js/tests/js1_5/Exceptions/regress-350650-n.js => js/src/tests/js1_5/Exceptions/regress-350650-n.js rename : js/tests/js1_5/Exceptions/regress-350837.js => js/src/tests/js1_5/Exceptions/regress-350837.js rename : js/tests/js1_5/Exceptions/shell.js => js/src/tests/js1_5/Exceptions/shell.js rename : js/tests/js1_5/Expressions/browser.js => js/src/tests/js1_5/Expressions/browser.js rename : js/tests/js1_5/Expressions/regress-192288.js => js/src/tests/js1_5/Expressions/regress-192288.js rename : js/tests/js1_5/Expressions/regress-394673.js => js/src/tests/js1_5/Expressions/regress-394673.js rename : js/tests/js1_5/Expressions/regress-96526-argsub.js => js/src/tests/js1_5/Expressions/regress-96526-argsub.js rename : js/tests/js1_5/Expressions/regress-96526-delelem.js => js/src/tests/js1_5/Expressions/regress-96526-delelem.js rename : js/tests/js1_5/Expressions/regress-96526-noargsub.js => js/src/tests/js1_5/Expressions/regress-96526-noargsub.js rename : js/tests/js1_5/Expressions/shell.js => js/src/tests/js1_5/Expressions/shell.js rename : js/tests/js1_5/Function/10.1.6-01.js => js/src/tests/js1_5/Function/10.1.6-01.js rename : js/tests/js1_5/Function/10.1.6.js => js/src/tests/js1_5/Function/10.1.6.js rename : js/tests/js1_5/Function/15.3.4.4.js => js/src/tests/js1_5/Function/15.3.4.4.js rename : js/tests/js1_5/Function/browser.js => js/src/tests/js1_5/Function/browser.js rename : js/tests/js1_5/Function/regress-123371.js => js/src/tests/js1_5/Function/regress-123371.js rename : js/tests/js1_5/Function/regress-178389.js => js/src/tests/js1_5/Function/regress-178389.js rename : js/tests/js1_5/Function/regress-222029-001.js => js/src/tests/js1_5/Function/regress-222029-001.js rename : js/tests/js1_5/Function/regress-222029-002.js => js/src/tests/js1_5/Function/regress-222029-002.js rename : js/tests/js1_5/Function/regress-292215.js => js/src/tests/js1_5/Function/regress-292215.js rename : js/tests/js1_5/Function/regress-338001.js => js/src/tests/js1_5/Function/regress-338001.js rename : js/tests/js1_5/Function/regress-338121-01.js => js/src/tests/js1_5/Function/regress-338121-01.js rename : js/tests/js1_5/Function/regress-338121-02.js => js/src/tests/js1_5/Function/regress-338121-02.js rename : js/tests/js1_5/Function/regress-338121-03.js => js/src/tests/js1_5/Function/regress-338121-03.js rename : js/tests/js1_5/Function/regress-344052.js => js/src/tests/js1_5/Function/regress-344052.js rename : js/tests/js1_5/Function/regress-364023.js => js/src/tests/js1_5/Function/regress-364023.js rename : js/tests/js1_5/Function/shell.js => js/src/tests/js1_5/Function/shell.js rename : js/tests/js1_5/GC/browser.js => js/src/tests/js1_5/GC/browser.js rename : js/tests/js1_5/GC/regress-104584.js => js/src/tests/js1_5/GC/regress-104584.js rename : js/tests/js1_5/GC/regress-203278-2.js => js/src/tests/js1_5/GC/regress-203278-2.js rename : js/tests/js1_5/GC/regress-203278-3.js => js/src/tests/js1_5/GC/regress-203278-3.js rename : js/tests/js1_5/GC/regress-278725.js => js/src/tests/js1_5/GC/regress-278725.js rename : js/tests/js1_5/GC/regress-306788.js => js/src/tests/js1_5/GC/regress-306788.js rename : js/tests/js1_5/GC/regress-311497.js => js/src/tests/js1_5/GC/regress-311497.js rename : js/tests/js1_5/GC/regress-313276.js => js/src/tests/js1_5/GC/regress-313276.js rename : js/tests/js1_5/GC/regress-313479.js => js/src/tests/js1_5/GC/regress-313479.js rename : js/tests/js1_5/GC/regress-316885-01.js => js/src/tests/js1_5/GC/regress-316885-01.js rename : js/tests/js1_5/GC/regress-316885-02.js => js/src/tests/js1_5/GC/regress-316885-02.js rename : js/tests/js1_5/GC/regress-316885-03.js => js/src/tests/js1_5/GC/regress-316885-03.js rename : js/tests/js1_5/GC/regress-319980-01.js => js/src/tests/js1_5/GC/regress-319980-01.js rename : js/tests/js1_5/GC/regress-324278.js => js/src/tests/js1_5/GC/regress-324278.js rename : js/tests/js1_5/GC/regress-331719.js => js/src/tests/js1_5/GC/regress-331719.js rename : js/tests/js1_5/GC/regress-338653.js => js/src/tests/js1_5/GC/regress-338653.js rename : js/tests/js1_5/GC/regress-341877-01.js => js/src/tests/js1_5/GC/regress-341877-01.js rename : js/tests/js1_5/GC/regress-341877-02.js => js/src/tests/js1_5/GC/regress-341877-02.js rename : js/tests/js1_5/GC/regress-346794.js => js/src/tests/js1_5/GC/regress-346794.js rename : js/tests/js1_5/GC/regress-348532.js => js/src/tests/js1_5/GC/regress-348532.js rename : js/tests/js1_5/GC/regress-352606.js => js/src/tests/js1_5/GC/regress-352606.js rename : js/tests/js1_5/GC/regress-383269-01.js => js/src/tests/js1_5/GC/regress-383269-01.js rename : js/tests/js1_5/GC/regress-383269-02.js => js/src/tests/js1_5/GC/regress-383269-02.js rename : js/tests/js1_5/GC/regress-390078.js => js/src/tests/js1_5/GC/regress-390078.js rename : js/tests/js1_5/GC/regress-418128.js => js/src/tests/js1_5/GC/regress-418128.js rename : js/tests/js1_5/GC/regress-440558.js => js/src/tests/js1_5/GC/regress-440558.js rename : js/tests/js1_5/GC/shell.js => js/src/tests/js1_5/GC/shell.js rename : js/tests/js1_5/GetSet/browser.js => js/src/tests/js1_5/GetSet/browser.js rename : js/tests/js1_5/GetSet/getset-002.js => js/src/tests/js1_5/GetSet/getset-002.js rename : js/tests/js1_5/GetSet/regress-353264.js => js/src/tests/js1_5/GetSet/regress-353264.js rename : js/tests/js1_5/GetSet/regress-375976.js => js/src/tests/js1_5/GetSet/regress-375976.js rename : js/tests/js1_5/GetSet/shell.js => js/src/tests/js1_5/GetSet/shell.js rename : js/tests/js1_5/LexicalConventions/browser.js => js/src/tests/js1_5/LexicalConventions/browser.js rename : js/tests/js1_5/LexicalConventions/lexical-001.js => js/src/tests/js1_5/LexicalConventions/lexical-001.js rename : js/tests/js1_5/LexicalConventions/regress-177314.js => js/src/tests/js1_5/LexicalConventions/regress-177314.js rename : js/tests/js1_5/LexicalConventions/regress-343675.js => js/src/tests/js1_5/LexicalConventions/regress-343675.js rename : js/tests/js1_5/LexicalConventions/regress-469940.js => js/src/tests/js1_5/LexicalConventions/regress-469940.js rename : js/tests/js1_5/LexicalConventions/shell.js => js/src/tests/js1_5/LexicalConventions/shell.js rename : js/tests/js1_5/Object/browser.js => js/src/tests/js1_5/Object/browser.js rename : js/tests/js1_5/Object/regress-137000.js => js/src/tests/js1_5/Object/regress-137000.js rename : js/tests/js1_5/Object/regress-192105.js => js/src/tests/js1_5/Object/regress-192105.js rename : js/tests/js1_5/Object/regress-308806-01.js => js/src/tests/js1_5/Object/regress-308806-01.js rename : js/tests/js1_5/Object/regress-338709.js => js/src/tests/js1_5/Object/regress-338709.js rename : js/tests/js1_5/Object/regress-362872-01.js => js/src/tests/js1_5/Object/regress-362872-01.js rename : js/tests/js1_5/Object/regress-362872-02.js => js/src/tests/js1_5/Object/regress-362872-02.js rename : js/tests/js1_5/Object/regress-382503.js => js/src/tests/js1_5/Object/regress-382503.js rename : js/tests/js1_5/Object/regress-382532.js => js/src/tests/js1_5/Object/regress-382532.js rename : js/tests/js1_5/Object/regress-465476.js => js/src/tests/js1_5/Object/regress-465476.js rename : js/tests/js1_5/Object/regress-90596-003.js => js/src/tests/js1_5/Object/regress-90596-003.js rename : js/tests/js1_5/Object/shell.js => js/src/tests/js1_5/Object/shell.js rename : js/tests/js1_5/README => js/src/tests/js1_5/README rename : js/tests/js1_5/Regress/browser.js => js/src/tests/js1_5/Regress/browser.js rename : js/tests/js1_5/Regress/regress-102725.js => js/src/tests/js1_5/Regress/regress-102725.js rename : js/tests/js1_5/Regress/regress-10278.js => js/src/tests/js1_5/Regress/regress-10278.js rename : js/tests/js1_5/Regress/regress-103602.js => js/src/tests/js1_5/Regress/regress-103602.js rename : js/tests/js1_5/Regress/regress-104077.js => js/src/tests/js1_5/Regress/regress-104077.js rename : js/tests/js1_5/Regress/regress-106244.js => js/src/tests/js1_5/Regress/regress-106244.js rename : js/tests/js1_5/Regress/regress-110286.js => js/src/tests/js1_5/Regress/regress-110286.js rename : js/tests/js1_5/Regress/regress-111557.js => js/src/tests/js1_5/Regress/regress-111557.js rename : js/tests/js1_5/Regress/regress-114491.js => js/src/tests/js1_5/Regress/regress-114491.js rename : js/tests/js1_5/Regress/regress-114493.js => js/src/tests/js1_5/Regress/regress-114493.js rename : js/tests/js1_5/Regress/regress-115436.js => js/src/tests/js1_5/Regress/regress-115436.js rename : js/tests/js1_5/Regress/regress-116228.js => js/src/tests/js1_5/Regress/regress-116228.js rename : js/tests/js1_5/Regress/regress-118849.js => js/src/tests/js1_5/Regress/regress-118849.js rename : js/tests/js1_5/Regress/regress-119719.js => js/src/tests/js1_5/Regress/regress-119719.js rename : js/tests/js1_5/Regress/regress-127243.js => js/src/tests/js1_5/Regress/regress-127243.js rename : js/tests/js1_5/Regress/regress-127557.js => js/src/tests/js1_5/Regress/regress-127557.js rename : js/tests/js1_5/Regress/regress-131510-001.js => js/src/tests/js1_5/Regress/regress-131510-001.js rename : js/tests/js1_5/Regress/regress-139316.js => js/src/tests/js1_5/Regress/regress-139316.js rename : js/tests/js1_5/Regress/regress-140852.js => js/src/tests/js1_5/Regress/regress-140852.js rename : js/tests/js1_5/Regress/regress-140974.js => js/src/tests/js1_5/Regress/regress-140974.js rename : js/tests/js1_5/Regress/regress-146596.js => js/src/tests/js1_5/Regress/regress-146596.js rename : js/tests/js1_5/Regress/regress-152646.js => js/src/tests/js1_5/Regress/regress-152646.js rename : js/tests/js1_5/Regress/regress-155081-2.js => js/src/tests/js1_5/Regress/regress-155081-2.js rename : js/tests/js1_5/Regress/regress-155081.js => js/src/tests/js1_5/Regress/regress-155081.js rename : js/tests/js1_5/Regress/regress-156354.js => js/src/tests/js1_5/Regress/regress-156354.js rename : js/tests/js1_5/Regress/regress-159334.js => js/src/tests/js1_5/Regress/regress-159334.js rename : js/tests/js1_5/Regress/regress-162392.js => js/src/tests/js1_5/Regress/regress-162392.js rename : js/tests/js1_5/Regress/regress-165201.js => js/src/tests/js1_5/Regress/regress-165201.js rename : js/tests/js1_5/Regress/regress-167328.js => js/src/tests/js1_5/Regress/regress-167328.js rename : js/tests/js1_5/Regress/regress-167658.js => js/src/tests/js1_5/Regress/regress-167658.js rename : js/tests/js1_5/Regress/regress-168347.js => js/src/tests/js1_5/Regress/regress-168347.js rename : js/tests/js1_5/Regress/regress-169559.js => js/src/tests/js1_5/Regress/regress-169559.js rename : js/tests/js1_5/Regress/regress-170193.js => js/src/tests/js1_5/Regress/regress-170193.js rename : js/tests/js1_5/Regress/regress-172699.js => js/src/tests/js1_5/Regress/regress-172699.js rename : js/tests/js1_5/Regress/regress-173067.js => js/src/tests/js1_5/Regress/regress-173067.js rename : js/tests/js1_5/Regress/regress-174709.js => js/src/tests/js1_5/Regress/regress-174709.js rename : js/tests/js1_5/Regress/regress-176125.js => js/src/tests/js1_5/Regress/regress-176125.js rename : js/tests/js1_5/Regress/regress-179524.js => js/src/tests/js1_5/Regress/regress-179524.js rename : js/tests/js1_5/Regress/regress-185165.js => js/src/tests/js1_5/Regress/regress-185165.js rename : js/tests/js1_5/Regress/regress-191633.js => js/src/tests/js1_5/Regress/regress-191633.js rename : js/tests/js1_5/Regress/regress-191668.js => js/src/tests/js1_5/Regress/regress-191668.js rename : js/tests/js1_5/Regress/regress-192414.js => js/src/tests/js1_5/Regress/regress-192414.js rename : js/tests/js1_5/Regress/regress-193418.js => js/src/tests/js1_5/Regress/regress-193418.js rename : js/tests/js1_5/Regress/regress-203278-1.js => js/src/tests/js1_5/Regress/regress-203278-1.js rename : js/tests/js1_5/Regress/regress-203402.js => js/src/tests/js1_5/Regress/regress-203402.js rename : js/tests/js1_5/Regress/regress-203841.js => js/src/tests/js1_5/Regress/regress-203841.js rename : js/tests/js1_5/Regress/regress-204210.js => js/src/tests/js1_5/Regress/regress-204210.js rename : js/tests/js1_5/Regress/regress-210682.js => js/src/tests/js1_5/Regress/regress-210682.js rename : js/tests/js1_5/Regress/regress-211590.js => js/src/tests/js1_5/Regress/regress-211590.js rename : js/tests/js1_5/Regress/regress-213482.js => js/src/tests/js1_5/Regress/regress-213482.js rename : js/tests/js1_5/Regress/regress-214761.js => js/src/tests/js1_5/Regress/regress-214761.js rename : js/tests/js1_5/Regress/regress-216320.js => js/src/tests/js1_5/Regress/regress-216320.js rename : js/tests/js1_5/Regress/regress-224956.js => js/src/tests/js1_5/Regress/regress-224956.js rename : js/tests/js1_5/Regress/regress-229006.js => js/src/tests/js1_5/Regress/regress-229006.js rename : js/tests/js1_5/Regress/regress-230216-1.js => js/src/tests/js1_5/Regress/regress-230216-1.js rename : js/tests/js1_5/Regress/regress-230216-2.js => js/src/tests/js1_5/Regress/regress-230216-2.js rename : js/tests/js1_5/Regress/regress-230216-3.js => js/src/tests/js1_5/Regress/regress-230216-3.js rename : js/tests/js1_5/Regress/regress-233483-2.js => js/src/tests/js1_5/Regress/regress-233483-2.js rename : js/tests/js1_5/Regress/regress-233483.js => js/src/tests/js1_5/Regress/regress-233483.js rename : js/tests/js1_5/Regress/regress-234389.js => js/src/tests/js1_5/Regress/regress-234389.js rename : js/tests/js1_5/Regress/regress-238881.js => js/src/tests/js1_5/Regress/regress-238881.js rename : js/tests/js1_5/Regress/regress-238945.js => js/src/tests/js1_5/Regress/regress-238945.js rename : js/tests/js1_5/Regress/regress-240317.js => js/src/tests/js1_5/Regress/regress-240317.js rename : js/tests/js1_5/Regress/regress-240577.js => js/src/tests/js1_5/Regress/regress-240577.js rename : js/tests/js1_5/Regress/regress-243174.js => js/src/tests/js1_5/Regress/regress-243174.js rename : js/tests/js1_5/Regress/regress-243389-n.js => js/src/tests/js1_5/Regress/regress-243389-n.js rename : js/tests/js1_5/Regress/regress-243869.js => js/src/tests/js1_5/Regress/regress-243869.js rename : js/tests/js1_5/Regress/regress-244470.js => js/src/tests/js1_5/Regress/regress-244470.js rename : js/tests/js1_5/Regress/regress-244619.js => js/src/tests/js1_5/Regress/regress-244619.js rename : js/tests/js1_5/Regress/regress-245113.js => js/src/tests/js1_5/Regress/regress-245113.js rename : js/tests/js1_5/Regress/regress-245308.js => js/src/tests/js1_5/Regress/regress-245308.js rename : js/tests/js1_5/Regress/regress-246911.js => js/src/tests/js1_5/Regress/regress-246911.js rename : js/tests/js1_5/Regress/regress-246964.js => js/src/tests/js1_5/Regress/regress-246964.js rename : js/tests/js1_5/Regress/regress-247179.js => js/src/tests/js1_5/Regress/regress-247179.js rename : js/tests/js1_5/Regress/regress-248444.js => js/src/tests/js1_5/Regress/regress-248444.js rename : js/tests/js1_5/Regress/regress-249211.js => js/src/tests/js1_5/Regress/regress-249211.js rename : js/tests/js1_5/Regress/regress-252892.js => js/src/tests/js1_5/Regress/regress-252892.js rename : js/tests/js1_5/Regress/regress-253150.js => js/src/tests/js1_5/Regress/regress-253150.js rename : js/tests/js1_5/Regress/regress-254296.js => js/src/tests/js1_5/Regress/regress-254296.js rename : js/tests/js1_5/Regress/regress-254974.js => js/src/tests/js1_5/Regress/regress-254974.js rename : js/tests/js1_5/Regress/regress-256501.js => js/src/tests/js1_5/Regress/regress-256501.js rename : js/tests/js1_5/Regress/regress-256617.js => js/src/tests/js1_5/Regress/regress-256617.js rename : js/tests/js1_5/Regress/regress-256798.js => js/src/tests/js1_5/Regress/regress-256798.js rename : js/tests/js1_5/Regress/regress-259935.js => js/src/tests/js1_5/Regress/regress-259935.js rename : js/tests/js1_5/Regress/regress-260541.js => js/src/tests/js1_5/Regress/regress-260541.js rename : js/tests/js1_5/Regress/regress-261886.js => js/src/tests/js1_5/Regress/regress-261886.js rename : js/tests/js1_5/Regress/regress-261887.js => js/src/tests/js1_5/Regress/regress-261887.js rename : js/tests/js1_5/Regress/regress-271716-n.js => js/src/tests/js1_5/Regress/regress-271716-n.js rename : js/tests/js1_5/Regress/regress-274035.js => js/src/tests/js1_5/Regress/regress-274035.js rename : js/tests/js1_5/Regress/regress-274888.js => js/src/tests/js1_5/Regress/regress-274888.js rename : js/tests/js1_5/Regress/regress-275378.js => js/src/tests/js1_5/Regress/regress-275378.js rename : js/tests/js1_5/Regress/regress-276103.js => js/src/tests/js1_5/Regress/regress-276103.js rename : js/tests/js1_5/Regress/regress-278873.js => js/src/tests/js1_5/Regress/regress-278873.js rename : js/tests/js1_5/Regress/regress-280769-1.js => js/src/tests/js1_5/Regress/regress-280769-1.js rename : js/tests/js1_5/Regress/regress-280769-2.js => js/src/tests/js1_5/Regress/regress-280769-2.js rename : js/tests/js1_5/Regress/regress-280769-3.js => js/src/tests/js1_5/Regress/regress-280769-3.js rename : js/tests/js1_5/Regress/regress-280769-4.js => js/src/tests/js1_5/Regress/regress-280769-4.js rename : js/tests/js1_5/Regress/regress-280769-5.js => js/src/tests/js1_5/Regress/regress-280769-5.js rename : js/tests/js1_5/Regress/regress-280769.js => js/src/tests/js1_5/Regress/regress-280769.js rename : js/tests/js1_5/Regress/regress-281487.js => js/src/tests/js1_5/Regress/regress-281487.js rename : js/tests/js1_5/Regress/regress-281606.js => js/src/tests/js1_5/Regress/regress-281606.js rename : js/tests/js1_5/Regress/regress-281930.js => js/src/tests/js1_5/Regress/regress-281930.js rename : js/tests/js1_5/Regress/regress-283477.js => js/src/tests/js1_5/Regress/regress-283477.js rename : js/tests/js1_5/Regress/regress-286216.js => js/src/tests/js1_5/Regress/regress-286216.js rename : js/tests/js1_5/Regress/regress-288688.js => js/src/tests/js1_5/Regress/regress-288688.js rename : js/tests/js1_5/Regress/regress-289094.js => js/src/tests/js1_5/Regress/regress-289094.js rename : js/tests/js1_5/Regress/regress-290575.js => js/src/tests/js1_5/Regress/regress-290575.js rename : js/tests/js1_5/Regress/regress-290656.js => js/src/tests/js1_5/Regress/regress-290656.js rename : js/tests/js1_5/Regress/regress-294191.js => js/src/tests/js1_5/Regress/regress-294191.js rename : js/tests/js1_5/Regress/regress-294195-01.js => js/src/tests/js1_5/Regress/regress-294195-01.js rename : js/tests/js1_5/Regress/regress-294195-02.js => js/src/tests/js1_5/Regress/regress-294195-02.js rename : js/tests/js1_5/Regress/regress-294302.js => js/src/tests/js1_5/Regress/regress-294302.js rename : js/tests/js1_5/Regress/regress-295052.js => js/src/tests/js1_5/Regress/regress-295052.js rename : js/tests/js1_5/Regress/regress-295666.js => js/src/tests/js1_5/Regress/regress-295666.js rename : js/tests/js1_5/Regress/regress-299209.js => js/src/tests/js1_5/Regress/regress-299209.js rename : js/tests/js1_5/Regress/regress-299641.js => js/src/tests/js1_5/Regress/regress-299641.js rename : js/tests/js1_5/Regress/regress-303213.js => js/src/tests/js1_5/Regress/regress-303213.js rename : js/tests/js1_5/Regress/regress-306633.js => js/src/tests/js1_5/Regress/regress-306633.js rename : js/tests/js1_5/Regress/regress-306727.js => js/src/tests/js1_5/Regress/regress-306727.js rename : js/tests/js1_5/Regress/regress-306794.js => js/src/tests/js1_5/Regress/regress-306794.js rename : js/tests/js1_5/Regress/regress-308085.js => js/src/tests/js1_5/Regress/regress-308085.js rename : js/tests/js1_5/Regress/regress-308566.js => js/src/tests/js1_5/Regress/regress-308566.js rename : js/tests/js1_5/Regress/regress-309242.js => js/src/tests/js1_5/Regress/regress-309242.js rename : js/tests/js1_5/Regress/regress-310295.js => js/src/tests/js1_5/Regress/regress-310295.js rename : js/tests/js1_5/Regress/regress-310607.js => js/src/tests/js1_5/Regress/regress-310607.js rename : js/tests/js1_5/Regress/regress-310993.js => js/src/tests/js1_5/Regress/regress-310993.js rename : js/tests/js1_5/Regress/regress-311071.js => js/src/tests/js1_5/Regress/regress-311071.js rename : js/tests/js1_5/Regress/regress-311629.js => js/src/tests/js1_5/Regress/regress-311629.js rename : js/tests/js1_5/Regress/regress-312260.js => js/src/tests/js1_5/Regress/regress-312260.js rename : js/tests/js1_5/Regress/regress-31255.js => js/src/tests/js1_5/Regress/regress-31255.js rename : js/tests/js1_5/Regress/regress-312588.js => js/src/tests/js1_5/Regress/regress-312588.js rename : js/tests/js1_5/Regress/regress-313967-01.js => js/src/tests/js1_5/Regress/regress-313967-01.js rename : js/tests/js1_5/Regress/regress-313967-02.js => js/src/tests/js1_5/Regress/regress-313967-02.js rename : js/tests/js1_5/Regress/regress-314401.js => js/src/tests/js1_5/Regress/regress-314401.js rename : js/tests/js1_5/Regress/regress-315974.js => js/src/tests/js1_5/Regress/regress-315974.js rename : js/tests/js1_5/Regress/regress-315990.js => js/src/tests/js1_5/Regress/regress-315990.js rename : js/tests/js1_5/Regress/regress-317476.js => js/src/tests/js1_5/Regress/regress-317476.js rename : js/tests/js1_5/Regress/regress-317533.js => js/src/tests/js1_5/Regress/regress-317533.js rename : js/tests/js1_5/Regress/regress-317714-01.js => js/src/tests/js1_5/Regress/regress-317714-01.js rename : js/tests/js1_5/Regress/regress-317714-02.js => js/src/tests/js1_5/Regress/regress-317714-02.js rename : js/tests/js1_5/Regress/regress-319384.js => js/src/tests/js1_5/Regress/regress-319384.js rename : js/tests/js1_5/Regress/regress-319391.js => js/src/tests/js1_5/Regress/regress-319391.js rename : js/tests/js1_5/Regress/regress-320032.js => js/src/tests/js1_5/Regress/regress-320032.js rename : js/tests/js1_5/Regress/regress-320119.js => js/src/tests/js1_5/Regress/regress-320119.js rename : js/tests/js1_5/Regress/regress-321757.js => js/src/tests/js1_5/Regress/regress-321757.js rename : js/tests/js1_5/Regress/regress-321874.js => js/src/tests/js1_5/Regress/regress-321874.js rename : js/tests/js1_5/Regress/regress-321971.js => js/src/tests/js1_5/Regress/regress-321971.js rename : js/tests/js1_5/Regress/regress-322430.js => js/src/tests/js1_5/Regress/regress-322430.js rename : js/tests/js1_5/Regress/regress-323314-1.js => js/src/tests/js1_5/Regress/regress-323314-1.js rename : js/tests/js1_5/Regress/regress-325925.js => js/src/tests/js1_5/Regress/regress-325925.js rename : js/tests/js1_5/Regress/regress-326453.js => js/src/tests/js1_5/Regress/regress-326453.js rename : js/tests/js1_5/Regress/regress-326467.js => js/src/tests/js1_5/Regress/regress-326467.js rename : js/tests/js1_5/Regress/regress-328012.js => js/src/tests/js1_5/Regress/regress-328012.js rename : js/tests/js1_5/Regress/regress-328664.js => js/src/tests/js1_5/Regress/regress-328664.js rename : js/tests/js1_5/Regress/regress-328897.js => js/src/tests/js1_5/Regress/regress-328897.js rename : js/tests/js1_5/Regress/regress-329383.js => js/src/tests/js1_5/Regress/regress-329383.js rename : js/tests/js1_5/Regress/regress-329530.js => js/src/tests/js1_5/Regress/regress-329530.js rename : js/tests/js1_5/Regress/regress-330352.js => js/src/tests/js1_5/Regress/regress-330352.js rename : js/tests/js1_5/Regress/regress-330951.js => js/src/tests/js1_5/Regress/regress-330951.js rename : js/tests/js1_5/Regress/regress-334807-01.js => js/src/tests/js1_5/Regress/regress-334807-01.js rename : js/tests/js1_5/Regress/regress-334807-02.js => js/src/tests/js1_5/Regress/regress-334807-02.js rename : js/tests/js1_5/Regress/regress-334807-03.js => js/src/tests/js1_5/Regress/regress-334807-03.js rename : js/tests/js1_5/Regress/regress-334807-04.js => js/src/tests/js1_5/Regress/regress-334807-04.js rename : js/tests/js1_5/Regress/regress-334807-05.js => js/src/tests/js1_5/Regress/regress-334807-05.js rename : js/tests/js1_5/Regress/regress-334807-06.js => js/src/tests/js1_5/Regress/regress-334807-06.js rename : js/tests/js1_5/Regress/regress-336100.js => js/src/tests/js1_5/Regress/regress-336100.js rename : js/tests/js1_5/Regress/regress-338307.js => js/src/tests/js1_5/Regress/regress-338307.js rename : js/tests/js1_5/Regress/regress-340369.js => js/src/tests/js1_5/Regress/regress-340369.js rename : js/tests/js1_5/Regress/regress-341360.js => js/src/tests/js1_5/Regress/regress-341360.js rename : js/tests/js1_5/Regress/regress-343713.js => js/src/tests/js1_5/Regress/regress-343713.js rename : js/tests/js1_5/Regress/regress-343966.js => js/src/tests/js1_5/Regress/regress-343966.js rename : js/tests/js1_5/Regress/regress-344711-n.js => js/src/tests/js1_5/Regress/regress-344711-n.js rename : js/tests/js1_5/Regress/regress-344804.js => js/src/tests/js1_5/Regress/regress-344804.js rename : js/tests/js1_5/Regress/regress-344959.js => js/src/tests/js1_5/Regress/regress-344959.js rename : js/tests/js1_5/Regress/regress-346237.js => js/src/tests/js1_5/Regress/regress-346237.js rename : js/tests/js1_5/Regress/regress-346801.js => js/src/tests/js1_5/Regress/regress-346801.js rename : js/tests/js1_5/Regress/regress-347306-01.js => js/src/tests/js1_5/Regress/regress-347306-01.js rename : js/tests/js1_5/Regress/regress-349482-01.js => js/src/tests/js1_5/Regress/regress-349482-01.js rename : js/tests/js1_5/Regress/regress-349482-02.js => js/src/tests/js1_5/Regress/regress-349482-02.js rename : js/tests/js1_5/Regress/regress-349592.js => js/src/tests/js1_5/Regress/regress-349592.js rename : js/tests/js1_5/Regress/regress-349648.js => js/src/tests/js1_5/Regress/regress-349648.js rename : js/tests/js1_5/Regress/regress-350253.js => js/src/tests/js1_5/Regress/regress-350253.js rename : js/tests/js1_5/Regress/regress-350268.js => js/src/tests/js1_5/Regress/regress-350268.js rename : js/tests/js1_5/Regress/regress-350312.js => js/src/tests/js1_5/Regress/regress-350312.js rename : js/tests/js1_5/Regress/regress-350415.js => js/src/tests/js1_5/Regress/regress-350415.js rename : js/tests/js1_5/Regress/regress-350529.js => js/src/tests/js1_5/Regress/regress-350529.js rename : js/tests/js1_5/Regress/regress-350692.js => js/src/tests/js1_5/Regress/regress-350692.js rename : js/tests/js1_5/Regress/regress-351116.js => js/src/tests/js1_5/Regress/regress-351116.js rename : js/tests/js1_5/Regress/regress-351515.js => js/src/tests/js1_5/Regress/regress-351515.js rename : js/tests/js1_5/Regress/regress-352009.js => js/src/tests/js1_5/Regress/regress-352009.js rename : js/tests/js1_5/Regress/regress-352197.js => js/src/tests/js1_5/Regress/regress-352197.js rename : js/tests/js1_5/Regress/regress-352208.js => js/src/tests/js1_5/Regress/regress-352208.js rename : js/tests/js1_5/Regress/regress-352604.js => js/src/tests/js1_5/Regress/regress-352604.js rename : js/tests/js1_5/Regress/regress-354924.js => js/src/tests/js1_5/Regress/regress-354924.js rename : js/tests/js1_5/Regress/regress-355341.js => js/src/tests/js1_5/Regress/regress-355341.js rename : js/tests/js1_5/Regress/regress-355344.js => js/src/tests/js1_5/Regress/regress-355344.js rename : js/tests/js1_5/Regress/regress-355556.js => js/src/tests/js1_5/Regress/regress-355556.js rename : js/tests/js1_5/Regress/regress-355829-01.js => js/src/tests/js1_5/Regress/regress-355829-01.js rename : js/tests/js1_5/Regress/regress-355829-02.js => js/src/tests/js1_5/Regress/regress-355829-02.js rename : js/tests/js1_5/Regress/regress-355829-03.js => js/src/tests/js1_5/Regress/regress-355829-03.js rename : js/tests/js1_5/Regress/regress-356250.js => js/src/tests/js1_5/Regress/regress-356250.js rename : js/tests/js1_5/Regress/regress-356693.js => js/src/tests/js1_5/Regress/regress-356693.js rename : js/tests/js1_5/Regress/regress-360969-01.js => js/src/tests/js1_5/Regress/regress-360969-01.js rename : js/tests/js1_5/Regress/regress-360969-02.js => js/src/tests/js1_5/Regress/regress-360969-02.js rename : js/tests/js1_5/Regress/regress-360969-03.js => js/src/tests/js1_5/Regress/regress-360969-03.js rename : js/tests/js1_5/Regress/regress-360969-04.js => js/src/tests/js1_5/Regress/regress-360969-04.js rename : js/tests/js1_5/Regress/regress-360969-05.js => js/src/tests/js1_5/Regress/regress-360969-05.js rename : js/tests/js1_5/Regress/regress-360969-06.js => js/src/tests/js1_5/Regress/regress-360969-06.js rename : js/tests/js1_5/Regress/regress-361467.js => js/src/tests/js1_5/Regress/regress-361467.js rename : js/tests/js1_5/Regress/regress-361617.js => js/src/tests/js1_5/Regress/regress-361617.js rename : js/tests/js1_5/Regress/regress-362583.js => js/src/tests/js1_5/Regress/regress-362583.js rename : js/tests/js1_5/Regress/regress-3649-n.js => js/src/tests/js1_5/Regress/regress-3649-n.js rename : js/tests/js1_5/Regress/regress-366122.js => js/src/tests/js1_5/Regress/regress-366122.js rename : js/tests/js1_5/Regress/regress-366468.js => js/src/tests/js1_5/Regress/regress-366468.js rename : js/tests/js1_5/Regress/regress-366601.js => js/src/tests/js1_5/Regress/regress-366601.js rename : js/tests/js1_5/Regress/regress-367561-01.js => js/src/tests/js1_5/Regress/regress-367561-01.js rename : js/tests/js1_5/Regress/regress-367561-03.js => js/src/tests/js1_5/Regress/regress-367561-03.js rename : js/tests/js1_5/Regress/regress-372364.js => js/src/tests/js1_5/Regress/regress-372364.js rename : js/tests/js1_5/Regress/regress-379245.js => js/src/tests/js1_5/Regress/regress-379245.js rename : js/tests/js1_5/Regress/regress-383674.js => js/src/tests/js1_5/Regress/regress-383674.js rename : js/tests/js1_5/Regress/regress-383682.js => js/src/tests/js1_5/Regress/regress-383682.js rename : js/tests/js1_5/Regress/regress-385393-06.js => js/src/tests/js1_5/Regress/regress-385393-06.js rename : js/tests/js1_5/Regress/regress-387951-01.js => js/src/tests/js1_5/Regress/regress-387951-01.js rename : js/tests/js1_5/Regress/regress-387951-02.js => js/src/tests/js1_5/Regress/regress-387951-02.js rename : js/tests/js1_5/Regress/regress-387951-03.js => js/src/tests/js1_5/Regress/regress-387951-03.js rename : js/tests/js1_5/Regress/regress-39309.js => js/src/tests/js1_5/Regress/regress-39309.js rename : js/tests/js1_5/Regress/regress-396684.js => js/src/tests/js1_5/Regress/regress-396684.js rename : js/tests/js1_5/Regress/regress-398085-01.js => js/src/tests/js1_5/Regress/regress-398085-01.js rename : js/tests/js1_5/Regress/regress-398085-02.js => js/src/tests/js1_5/Regress/regress-398085-02.js rename : js/tests/js1_5/Regress/regress-398609.js => js/src/tests/js1_5/Regress/regress-398609.js rename : js/tests/js1_5/Regress/regress-404755.js => js/src/tests/js1_5/Regress/regress-404755.js rename : js/tests/js1_5/Regress/regress-406769.js => js/src/tests/js1_5/Regress/regress-406769.js rename : js/tests/js1_5/Regress/regress-407024.js => js/src/tests/js1_5/Regress/regress-407024.js rename : js/tests/js1_5/Regress/regress-407323.js => js/src/tests/js1_5/Regress/regress-407323.js rename : js/tests/js1_5/Regress/regress-407957.js => js/src/tests/js1_5/Regress/regress-407957.js rename : js/tests/js1_5/Regress/regress-410852.js => js/src/tests/js1_5/Regress/regress-410852.js rename : js/tests/js1_5/Regress/regress-416628.js => js/src/tests/js1_5/Regress/regress-416628.js rename : js/tests/js1_5/Regress/regress-416737-01.js => js/src/tests/js1_5/Regress/regress-416737-01.js rename : js/tests/js1_5/Regress/regress-416737-02.js => js/src/tests/js1_5/Regress/regress-416737-02.js rename : js/tests/js1_5/Regress/regress-417893.js => js/src/tests/js1_5/Regress/regress-417893.js rename : js/tests/js1_5/Regress/regress-418504.js => js/src/tests/js1_5/Regress/regress-418504.js rename : js/tests/js1_5/Regress/regress-418540.js => js/src/tests/js1_5/Regress/regress-418540.js rename : js/tests/js1_5/Regress/regress-419018.js => js/src/tests/js1_5/Regress/regress-419018.js rename : js/tests/js1_5/Regress/regress-419803.js => js/src/tests/js1_5/Regress/regress-419803.js rename : js/tests/js1_5/Regress/regress-420919.js => js/src/tests/js1_5/Regress/regress-420919.js rename : js/tests/js1_5/Regress/regress-422348.js => js/src/tests/js1_5/Regress/regress-422348.js rename : js/tests/js1_5/Regress/regress-424311.js => js/src/tests/js1_5/Regress/regress-424311.js rename : js/tests/js1_5/Regress/regress-425360.js => js/src/tests/js1_5/Regress/regress-425360.js rename : js/tests/js1_5/Regress/regress-426827.js => js/src/tests/js1_5/Regress/regress-426827.js rename : js/tests/js1_5/Regress/regress-428366.js => js/src/tests/js1_5/Regress/regress-428366.js rename : js/tests/js1_5/Regress/regress-438415-01.js => js/src/tests/js1_5/Regress/regress-438415-01.js rename : js/tests/js1_5/Regress/regress-438415-02.js => js/src/tests/js1_5/Regress/regress-438415-02.js rename : js/tests/js1_5/Regress/regress-449627.js => js/src/tests/js1_5/Regress/regress-449627.js rename : js/tests/js1_5/Regress/regress-449666.js => js/src/tests/js1_5/Regress/regress-449666.js rename : js/tests/js1_5/Regress/regress-450369.js => js/src/tests/js1_5/Regress/regress-450369.js rename : js/tests/js1_5/Regress/regress-450833.js => js/src/tests/js1_5/Regress/regress-450833.js rename : js/tests/js1_5/Regress/regress-451884.js => js/src/tests/js1_5/Regress/regress-451884.js rename : js/tests/js1_5/Regress/regress-451946.js => js/src/tests/js1_5/Regress/regress-451946.js rename : js/tests/js1_5/Regress/regress-452008.js => js/src/tests/js1_5/Regress/regress-452008.js rename : js/tests/js1_5/Regress/regress-452170.js => js/src/tests/js1_5/Regress/regress-452170.js rename : js/tests/js1_5/Regress/regress-452333.js => js/src/tests/js1_5/Regress/regress-452333.js rename : js/tests/js1_5/Regress/regress-452336.js => js/src/tests/js1_5/Regress/regress-452336.js rename : js/tests/js1_5/Regress/regress-452346.js => js/src/tests/js1_5/Regress/regress-452346.js rename : js/tests/js1_5/Regress/regress-452495.js => js/src/tests/js1_5/Regress/regress-452495.js rename : js/tests/js1_5/Regress/regress-452573-01.js => js/src/tests/js1_5/Regress/regress-452573-01.js rename : js/tests/js1_5/Regress/regress-452573-02.js => js/src/tests/js1_5/Regress/regress-452573-02.js rename : js/tests/js1_5/Regress/regress-452713.js => js/src/tests/js1_5/Regress/regress-452713.js rename : js/tests/js1_5/Regress/regress-452724-01.js => js/src/tests/js1_5/Regress/regress-452724-01.js rename : js/tests/js1_5/Regress/regress-452724-02.js => js/src/tests/js1_5/Regress/regress-452724-02.js rename : js/tests/js1_5/Regress/regress-452742-01.js => js/src/tests/js1_5/Regress/regress-452742-01.js rename : js/tests/js1_5/Regress/regress-452742-02.js => js/src/tests/js1_5/Regress/regress-452742-02.js rename : js/tests/js1_5/Regress/regress-452853.js => js/src/tests/js1_5/Regress/regress-452853.js rename : js/tests/js1_5/Regress/regress-452884-01.js => js/src/tests/js1_5/Regress/regress-452884-01.js rename : js/tests/js1_5/Regress/regress-452884-02.js => js/src/tests/js1_5/Regress/regress-452884-02.js rename : js/tests/js1_5/Regress/regress-453024.js => js/src/tests/js1_5/Regress/regress-453024.js rename : js/tests/js1_5/Regress/regress-453173.js => js/src/tests/js1_5/Regress/regress-453173.js rename : js/tests/js1_5/Regress/regress-453397.js => js/src/tests/js1_5/Regress/regress-453397.js rename : js/tests/js1_5/Regress/regress-453701.js => js/src/tests/js1_5/Regress/regress-453701.js rename : js/tests/js1_5/Regress/regress-453747.js => js/src/tests/js1_5/Regress/regress-453747.js rename : js/tests/js1_5/Regress/regress-454682.js => js/src/tests/js1_5/Regress/regress-454682.js rename : js/tests/js1_5/Regress/regress-454981.js => js/src/tests/js1_5/Regress/regress-454981.js rename : js/tests/js1_5/Regress/regress-455605.js => js/src/tests/js1_5/Regress/regress-455605.js rename : js/tests/js1_5/Regress/regress-455748.js => js/src/tests/js1_5/Regress/regress-455748.js rename : js/tests/js1_5/Regress/regress-455758-01.js => js/src/tests/js1_5/Regress/regress-455758-01.js rename : js/tests/js1_5/Regress/regress-455758-02.js => js/src/tests/js1_5/Regress/regress-455758-02.js rename : js/tests/js1_5/Regress/regress-455775.js => js/src/tests/js1_5/Regress/regress-455775.js rename : js/tests/js1_5/Regress/regress-456470.js => js/src/tests/js1_5/Regress/regress-456470.js rename : js/tests/js1_5/Regress/regress-456477-01.js => js/src/tests/js1_5/Regress/regress-456477-01.js rename : js/tests/js1_5/Regress/regress-456477-02.js => js/src/tests/js1_5/Regress/regress-456477-02.js rename : js/tests/js1_5/Regress/regress-456494.js => js/src/tests/js1_5/Regress/regress-456494.js rename : js/tests/js1_5/Regress/regress-456540-01.js => js/src/tests/js1_5/Regress/regress-456540-01.js rename : js/tests/js1_5/Regress/regress-456540-02.js => js/src/tests/js1_5/Regress/regress-456540-02.js rename : js/tests/js1_5/Regress/regress-457065-03.js => js/src/tests/js1_5/Regress/regress-457065-03.js rename : js/tests/js1_5/Regress/regress-457456.js => js/src/tests/js1_5/Regress/regress-457456.js rename : js/tests/js1_5/Regress/regress-457778.js => js/src/tests/js1_5/Regress/regress-457778.js rename : js/tests/js1_5/Regress/regress-458851.js => js/src/tests/js1_5/Regress/regress-458851.js rename : js/tests/js1_5/Regress/regress-459085.js => js/src/tests/js1_5/Regress/regress-459085.js rename : js/tests/js1_5/Regress/regress-459628.js => js/src/tests/js1_5/Regress/regress-459628.js rename : js/tests/js1_5/Regress/regress-459990.js => js/src/tests/js1_5/Regress/regress-459990.js rename : js/tests/js1_5/Regress/regress-460024.js => js/src/tests/js1_5/Regress/regress-460024.js rename : js/tests/js1_5/Regress/regress-460117.js => js/src/tests/js1_5/Regress/regress-460117.js rename : js/tests/js1_5/Regress/regress-461307.js => js/src/tests/js1_5/Regress/regress-461307.js rename : js/tests/js1_5/Regress/regress-461723.js => js/src/tests/js1_5/Regress/regress-461723.js rename : js/tests/js1_5/Regress/regress-462292.js => js/src/tests/js1_5/Regress/regress-462292.js rename : js/tests/js1_5/Regress/regress-462879.js => js/src/tests/js1_5/Regress/regress-462879.js rename : js/tests/js1_5/Regress/regress-462989.js => js/src/tests/js1_5/Regress/regress-462989.js rename : js/tests/js1_5/Regress/regress-463259.js => js/src/tests/js1_5/Regress/regress-463259.js rename : js/tests/js1_5/Regress/regress-463782.js => js/src/tests/js1_5/Regress/regress-463782.js rename : js/tests/js1_5/Regress/regress-464334.js => js/src/tests/js1_5/Regress/regress-464334.js rename : js/tests/js1_5/Regress/regress-464862.js => js/src/tests/js1_5/Regress/regress-464862.js rename : js/tests/js1_5/Regress/regress-465013.js => js/src/tests/js1_5/Regress/regress-465013.js rename : js/tests/js1_5/Regress/regress-465132.js => js/src/tests/js1_5/Regress/regress-465132.js rename : js/tests/js1_5/Regress/regress-465133.js => js/src/tests/js1_5/Regress/regress-465133.js rename : js/tests/js1_5/Regress/regress-465135.js => js/src/tests/js1_5/Regress/regress-465135.js rename : js/tests/js1_5/Regress/regress-465136.js => js/src/tests/js1_5/Regress/regress-465136.js rename : js/tests/js1_5/Regress/regress-465137.js => js/src/tests/js1_5/Regress/regress-465137.js rename : js/tests/js1_5/Regress/regress-465262.js => js/src/tests/js1_5/Regress/regress-465262.js rename : js/tests/js1_5/Regress/regress-465272.js => js/src/tests/js1_5/Regress/regress-465272.js rename : js/tests/js1_5/Regress/regress-465347.js => js/src/tests/js1_5/Regress/regress-465347.js rename : js/tests/js1_5/Regress/regress-465366.js => js/src/tests/js1_5/Regress/regress-465366.js rename : js/tests/js1_5/Regress/regress-466262.js => js/src/tests/js1_5/Regress/regress-466262.js rename : js/tests/js1_5/Regress/regress-466747.js => js/src/tests/js1_5/Regress/regress-466747.js rename : js/tests/js1_5/Regress/regress-469044.js => js/src/tests/js1_5/Regress/regress-469044.js rename : js/tests/js1_5/Regress/regress-470061.js => js/src/tests/js1_5/Regress/regress-470061.js rename : js/tests/js1_5/Regress/regress-470187-01.js => js/src/tests/js1_5/Regress/regress-470187-01.js rename : js/tests/js1_5/Regress/regress-470187-02.js => js/src/tests/js1_5/Regress/regress-470187-02.js rename : js/tests/js1_5/Regress/regress-470758-01.js => js/src/tests/js1_5/Regress/regress-470758-01.js rename : js/tests/js1_5/Regress/regress-470758-02.js => js/src/tests/js1_5/Regress/regress-470758-02.js rename : js/tests/js1_5/Regress/regress-475645-01.js => js/src/tests/js1_5/Regress/regress-475645-01.js rename : js/tests/js1_5/Regress/regress-475645-02.js => js/src/tests/js1_5/Regress/regress-475645-02.js rename : js/tests/js1_5/Regress/regress-476049.js => js/src/tests/js1_5/Regress/regress-476049.js rename : js/tests/js1_5/Regress/regress-476192.js => js/src/tests/js1_5/Regress/regress-476192.js rename : js/tests/js1_5/Regress/regress-477733.js => js/src/tests/js1_5/Regress/regress-477733.js rename : js/tests/js1_5/Regress/regress-477758.js => js/src/tests/js1_5/Regress/regress-477758.js rename : js/tests/js1_5/Regress/regress-478314.js => js/src/tests/js1_5/Regress/regress-478314.js rename : js/tests/js1_5/Regress/regress-479353.js => js/src/tests/js1_5/Regress/regress-479353.js rename : js/tests/js1_5/Regress/regress-480147.js => js/src/tests/js1_5/Regress/regress-480147.js rename : js/tests/js1_5/Regress/regress-480244.js => js/src/tests/js1_5/Regress/regress-480244.js rename : js/tests/js1_5/Regress/regress-481436.js => js/src/tests/js1_5/Regress/regress-481436.js rename : js/tests/js1_5/Regress/regress-482421.js => js/src/tests/js1_5/Regress/regress-482421.js rename : js/tests/js1_5/Regress/regress-483103.js => js/src/tests/js1_5/Regress/regress-483103.js rename : js/tests/js1_5/Regress/regress-501124.js => js/src/tests/js1_5/Regress/regress-501124.js rename : js/tests/js1_5/Regress/regress-504078.js => js/src/tests/js1_5/Regress/regress-504078.js rename : js/tests/js1_5/Regress/regress-506567.js => js/src/tests/js1_5/Regress/regress-506567.js rename : js/tests/js1_5/Regress/regress-57043.js => js/src/tests/js1_5/Regress/regress-57043.js rename : js/tests/js1_5/Regress/regress-58116.js => js/src/tests/js1_5/Regress/regress-58116.js rename : js/tests/js1_5/Regress/regress-68498-001.js => js/src/tests/js1_5/Regress/regress-68498-001.js rename : js/tests/js1_5/Regress/regress-68498-002.js => js/src/tests/js1_5/Regress/regress-68498-002.js rename : js/tests/js1_5/Regress/regress-68498-003.js => js/src/tests/js1_5/Regress/regress-68498-003.js rename : js/tests/js1_5/Regress/regress-68498-004.js => js/src/tests/js1_5/Regress/regress-68498-004.js rename : js/tests/js1_5/Regress/regress-69607.js => js/src/tests/js1_5/Regress/regress-69607.js rename : js/tests/js1_5/Regress/regress-71107.js => js/src/tests/js1_5/Regress/regress-71107.js rename : js/tests/js1_5/Regress/regress-76054.js => js/src/tests/js1_5/Regress/regress-76054.js rename : js/tests/js1_5/Regress/regress-80981.js => js/src/tests/js1_5/Regress/regress-80981.js rename : js/tests/js1_5/Regress/regress-82306.js => js/src/tests/js1_5/Regress/regress-82306.js rename : js/tests/js1_5/Regress/regress-89443.js => js/src/tests/js1_5/Regress/regress-89443.js rename : js/tests/js1_5/Regress/regress-89474.js => js/src/tests/js1_5/Regress/regress-89474.js rename : js/tests/js1_5/Regress/regress-90445.js => js/src/tests/js1_5/Regress/regress-90445.js rename : js/tests/js1_5/Regress/regress-96128-n.js => js/src/tests/js1_5/Regress/regress-96128-n.js rename : js/tests/js1_5/Regress/regress-96526-001.js => js/src/tests/js1_5/Regress/regress-96526-001.js rename : js/tests/js1_5/Regress/regress-96526-002.js => js/src/tests/js1_5/Regress/regress-96526-002.js rename : js/tests/js1_5/Regress/regress-96526-003.js => js/src/tests/js1_5/Regress/regress-96526-003.js rename : js/tests/js1_5/Regress/regress-98901.js => js/src/tests/js1_5/Regress/regress-98901.js rename : js/tests/js1_5/Regress/shell.js => js/src/tests/js1_5/Regress/shell.js rename : js/tests/js1_5/Scope/browser.js => js/src/tests/js1_5/Scope/browser.js rename : js/tests/js1_5/Scope/regress-154693.js => js/src/tests/js1_5/Scope/regress-154693.js rename : js/tests/js1_5/Scope/regress-181834.js => js/src/tests/js1_5/Scope/regress-181834.js rename : js/tests/js1_5/Scope/regress-184107.js => js/src/tests/js1_5/Scope/regress-184107.js rename : js/tests/js1_5/Scope/regress-185485.js => js/src/tests/js1_5/Scope/regress-185485.js rename : js/tests/js1_5/Scope/regress-191276.js => js/src/tests/js1_5/Scope/regress-191276.js rename : js/tests/js1_5/Scope/regress-192226.js => js/src/tests/js1_5/Scope/regress-192226.js rename : js/tests/js1_5/Scope/regress-202678-001.js => js/src/tests/js1_5/Scope/regress-202678-001.js rename : js/tests/js1_5/Scope/regress-202678-002.js => js/src/tests/js1_5/Scope/regress-202678-002.js rename : js/tests/js1_5/Scope/regress-208496-001.js => js/src/tests/js1_5/Scope/regress-208496-001.js rename : js/tests/js1_5/Scope/regress-208496-002.js => js/src/tests/js1_5/Scope/regress-208496-002.js rename : js/tests/js1_5/Scope/regress-220362.js => js/src/tests/js1_5/Scope/regress-220362.js rename : js/tests/js1_5/Scope/regress-446026-01.js => js/src/tests/js1_5/Scope/regress-446026-01.js rename : js/tests/js1_5/Scope/regress-446026-02.js => js/src/tests/js1_5/Scope/regress-446026-02.js rename : js/tests/js1_5/Scope/regress-77578-001.js => js/src/tests/js1_5/Scope/regress-77578-001.js rename : js/tests/js1_5/Scope/scope-002.js => js/src/tests/js1_5/Scope/scope-002.js rename : js/tests/js1_5/Scope/scope-003.js => js/src/tests/js1_5/Scope/scope-003.js rename : js/tests/js1_5/Scope/scope-004.js => js/src/tests/js1_5/Scope/scope-004.js rename : js/tests/js1_5/Scope/shell.js => js/src/tests/js1_5/Scope/shell.js rename : js/tests/js1_5/String/browser.js => js/src/tests/js1_5/String/browser.js rename : js/tests/js1_5/String/regress-107771.js => js/src/tests/js1_5/String/regress-107771.js rename : js/tests/js1_5/String/regress-112626.js => js/src/tests/js1_5/String/regress-112626.js rename : js/tests/js1_5/String/regress-157334-01.js => js/src/tests/js1_5/String/regress-157334-01.js rename : js/tests/js1_5/String/regress-179068.js => js/src/tests/js1_5/String/regress-179068.js rename : js/tests/js1_5/String/regress-314890.js => js/src/tests/js1_5/String/regress-314890.js rename : js/tests/js1_5/String/regress-322772.js => js/src/tests/js1_5/String/regress-322772.js rename : js/tests/js1_5/String/regress-56940-01.js => js/src/tests/js1_5/String/regress-56940-01.js rename : js/tests/js1_5/String/regress-56940-02.js => js/src/tests/js1_5/String/regress-56940-02.js rename : js/tests/js1_5/String/shell.js => js/src/tests/js1_5/String/shell.js rename : js/tests/js1_5/browser.js => js/src/tests/js1_5/browser.js rename : js/tests/js1_5/decompilation/browser.js => js/src/tests/js1_5/decompilation/browser.js rename : js/tests/js1_5/decompilation/regress-344120.js => js/src/tests/js1_5/decompilation/regress-344120.js rename : js/tests/js1_5/decompilation/regress-346892.js => js/src/tests/js1_5/decompilation/regress-346892.js rename : js/tests/js1_5/decompilation/regress-346902.js => js/src/tests/js1_5/decompilation/regress-346902.js rename : js/tests/js1_5/decompilation/regress-346904.js => js/src/tests/js1_5/decompilation/regress-346904.js rename : js/tests/js1_5/decompilation/regress-346915.js => js/src/tests/js1_5/decompilation/regress-346915.js rename : js/tests/js1_5/decompilation/regress-349484.js => js/src/tests/js1_5/decompilation/regress-349484.js rename : js/tests/js1_5/decompilation/regress-349489.js => js/src/tests/js1_5/decompilation/regress-349489.js rename : js/tests/js1_5/decompilation/regress-349491.js => js/src/tests/js1_5/decompilation/regress-349491.js rename : js/tests/js1_5/decompilation/regress-349596.js => js/src/tests/js1_5/decompilation/regress-349596.js rename : js/tests/js1_5/decompilation/regress-349650.js => js/src/tests/js1_5/decompilation/regress-349650.js rename : js/tests/js1_5/decompilation/regress-349663.js => js/src/tests/js1_5/decompilation/regress-349663.js rename : js/tests/js1_5/decompilation/regress-350242.js => js/src/tests/js1_5/decompilation/regress-350242.js rename : js/tests/js1_5/decompilation/regress-350263.js => js/src/tests/js1_5/decompilation/regress-350263.js rename : js/tests/js1_5/decompilation/regress-350271.js => js/src/tests/js1_5/decompilation/regress-350271.js rename : js/tests/js1_5/decompilation/regress-350666.js => js/src/tests/js1_5/decompilation/regress-350666.js rename : js/tests/js1_5/decompilation/regress-350670.js => js/src/tests/js1_5/decompilation/regress-350670.js rename : js/tests/js1_5/decompilation/regress-351104.js => js/src/tests/js1_5/decompilation/regress-351104.js rename : js/tests/js1_5/decompilation/regress-351219.js => js/src/tests/js1_5/decompilation/regress-351219.js rename : js/tests/js1_5/decompilation/regress-351336.js => js/src/tests/js1_5/decompilation/regress-351336.js rename : js/tests/js1_5/decompilation/regress-351597.js => js/src/tests/js1_5/decompilation/regress-351597.js rename : js/tests/js1_5/decompilation/regress-351625.js => js/src/tests/js1_5/decompilation/regress-351625.js rename : js/tests/js1_5/decompilation/regress-351626.js => js/src/tests/js1_5/decompilation/regress-351626.js rename : js/tests/js1_5/decompilation/regress-351693.js => js/src/tests/js1_5/decompilation/regress-351693.js rename : js/tests/js1_5/decompilation/regress-351705.js => js/src/tests/js1_5/decompilation/regress-351705.js rename : js/tests/js1_5/decompilation/regress-351793.js => js/src/tests/js1_5/decompilation/regress-351793.js rename : js/tests/js1_5/decompilation/regress-352013.js => js/src/tests/js1_5/decompilation/regress-352013.js rename : js/tests/js1_5/decompilation/regress-352022.js => js/src/tests/js1_5/decompilation/regress-352022.js rename : js/tests/js1_5/decompilation/regress-352073.js => js/src/tests/js1_5/decompilation/regress-352073.js rename : js/tests/js1_5/decompilation/regress-352202.js => js/src/tests/js1_5/decompilation/regress-352202.js rename : js/tests/js1_5/decompilation/regress-352312.js => js/src/tests/js1_5/decompilation/regress-352312.js rename : js/tests/js1_5/decompilation/regress-352360.js => js/src/tests/js1_5/decompilation/regress-352360.js rename : js/tests/js1_5/decompilation/regress-352375.js => js/src/tests/js1_5/decompilation/regress-352375.js rename : js/tests/js1_5/decompilation/regress-352453.js => js/src/tests/js1_5/decompilation/regress-352453.js rename : js/tests/js1_5/decompilation/regress-352649.js => js/src/tests/js1_5/decompilation/regress-352649.js rename : js/tests/js1_5/decompilation/regress-352873-01.js => js/src/tests/js1_5/decompilation/regress-352873-01.js rename : js/tests/js1_5/decompilation/regress-352873-02.js => js/src/tests/js1_5/decompilation/regress-352873-02.js rename : js/tests/js1_5/decompilation/regress-353000.js => js/src/tests/js1_5/decompilation/regress-353000.js rename : js/tests/js1_5/decompilation/regress-353120.js => js/src/tests/js1_5/decompilation/regress-353120.js rename : js/tests/js1_5/decompilation/regress-353146.js => js/src/tests/js1_5/decompilation/regress-353146.js rename : js/tests/js1_5/decompilation/regress-354878.js => js/src/tests/js1_5/decompilation/regress-354878.js rename : js/tests/js1_5/decompilation/regress-354910.js => js/src/tests/js1_5/decompilation/regress-354910.js rename : js/tests/js1_5/decompilation/regress-355992.js => js/src/tests/js1_5/decompilation/regress-355992.js rename : js/tests/js1_5/decompilation/regress-356083.js => js/src/tests/js1_5/decompilation/regress-356083.js rename : js/tests/js1_5/decompilation/regress-356248.js => js/src/tests/js1_5/decompilation/regress-356248.js rename : js/tests/js1_5/decompilation/regress-371692.js => js/src/tests/js1_5/decompilation/regress-371692.js rename : js/tests/js1_5/decompilation/regress-373678.js => js/src/tests/js1_5/decompilation/regress-373678.js rename : js/tests/js1_5/decompilation/regress-375639.js => js/src/tests/js1_5/decompilation/regress-375639.js rename : js/tests/js1_5/decompilation/regress-375882.js => js/src/tests/js1_5/decompilation/regress-375882.js rename : js/tests/js1_5/decompilation/regress-376564.js => js/src/tests/js1_5/decompilation/regress-376564.js rename : js/tests/js1_5/decompilation/regress-383721.js => js/src/tests/js1_5/decompilation/regress-383721.js rename : js/tests/js1_5/decompilation/regress-406555.js => js/src/tests/js1_5/decompilation/regress-406555.js rename : js/tests/js1_5/decompilation/regress-437288-02.js => js/src/tests/js1_5/decompilation/regress-437288-02.js rename : js/tests/js1_5/decompilation/regress-443071-01.js => js/src/tests/js1_5/decompilation/regress-443071-01.js rename : js/tests/js1_5/decompilation/regress-456964-01.js => js/src/tests/js1_5/decompilation/regress-456964-01.js rename : js/tests/js1_5/decompilation/regress-457093-01.js => js/src/tests/js1_5/decompilation/regress-457093-01.js rename : js/tests/js1_5/decompilation/regress-457824.js => js/src/tests/js1_5/decompilation/regress-457824.js rename : js/tests/js1_5/decompilation/regress-460116-01.js => js/src/tests/js1_5/decompilation/regress-460116-01.js rename : js/tests/js1_5/decompilation/regress-460116-02.js => js/src/tests/js1_5/decompilation/regress-460116-02.js rename : js/tests/js1_5/decompilation/regress-460116-03.js => js/src/tests/js1_5/decompilation/regress-460116-03.js rename : js/tests/js1_5/decompilation/regress-460501.js => js/src/tests/js1_5/decompilation/regress-460501.js rename : js/tests/js1_5/decompilation/regress-460870.js => js/src/tests/js1_5/decompilation/regress-460870.js rename : js/tests/js1_5/decompilation/regress-461108.js => js/src/tests/js1_5/decompilation/regress-461108.js rename : js/tests/js1_5/decompilation/regress-461110.js => js/src/tests/js1_5/decompilation/regress-461110.js rename : js/tests/js1_5/decompilation/regress-461111.js => js/src/tests/js1_5/decompilation/regress-461111.js rename : js/tests/js1_5/decompilation/shell.js => js/src/tests/js1_5/decompilation/shell.js rename : js/tests/js1_5/extensions/browser.js => js/src/tests/js1_5/extensions/browser.js rename : js/tests/js1_5/extensions/catchguard-001-n.js => js/src/tests/js1_5/extensions/catchguard-001-n.js rename : js/tests/js1_5/extensions/catchguard-001.js => js/src/tests/js1_5/extensions/catchguard-001.js rename : js/tests/js1_5/extensions/catchguard-002.js => js/src/tests/js1_5/extensions/catchguard-002.js rename : js/tests/js1_5/extensions/catchguard-003.js => js/src/tests/js1_5/extensions/catchguard-003.js rename : js/tests/js1_5/extensions/getset-001.js => js/src/tests/js1_5/extensions/getset-001.js rename : js/tests/js1_5/extensions/getset-003.js => js/src/tests/js1_5/extensions/getset-003.js rename : js/tests/js1_5/extensions/getset-004.js => js/src/tests/js1_5/extensions/getset-004.js rename : js/tests/js1_5/extensions/getset-005.js => js/src/tests/js1_5/extensions/getset-005.js rename : js/tests/js1_5/extensions/getset-006.js => js/src/tests/js1_5/extensions/getset-006.js rename : js/tests/js1_5/extensions/no-such-method.js => js/src/tests/js1_5/extensions/no-such-method.js rename : js/tests/js1_5/extensions/regress-104077.js => js/src/tests/js1_5/extensions/regress-104077.js rename : js/tests/js1_5/extensions/regress-164697.js => js/src/tests/js1_5/extensions/regress-164697.js rename : js/tests/js1_5/extensions/regress-178722.js => js/src/tests/js1_5/extensions/regress-178722.js rename : js/tests/js1_5/extensions/regress-192465.js => js/src/tests/js1_5/extensions/regress-192465.js rename : js/tests/js1_5/extensions/regress-220584.js => js/src/tests/js1_5/extensions/regress-220584.js rename : js/tests/js1_5/extensions/regress-225831.js => js/src/tests/js1_5/extensions/regress-225831.js rename : js/tests/js1_5/extensions/regress-226078.js => js/src/tests/js1_5/extensions/regress-226078.js rename : js/tests/js1_5/extensions/regress-226507.js => js/src/tests/js1_5/extensions/regress-226507.js rename : js/tests/js1_5/extensions/regress-231518.js => js/src/tests/js1_5/extensions/regress-231518.js rename : js/tests/js1_5/extensions/regress-237461.js => js/src/tests/js1_5/extensions/regress-237461.js rename : js/tests/js1_5/extensions/regress-245148.js => js/src/tests/js1_5/extensions/regress-245148.js rename : js/tests/js1_5/extensions/regress-245795.js => js/src/tests/js1_5/extensions/regress-245795.js rename : js/tests/js1_5/extensions/regress-254375.js => js/src/tests/js1_5/extensions/regress-254375.js rename : js/tests/js1_5/extensions/regress-255245.js => js/src/tests/js1_5/extensions/regress-255245.js rename : js/tests/js1_5/extensions/regress-291213.js => js/src/tests/js1_5/extensions/regress-291213.js rename : js/tests/js1_5/extensions/regress-300079.js => js/src/tests/js1_5/extensions/regress-300079.js rename : js/tests/js1_5/extensions/regress-303277.js => js/src/tests/js1_5/extensions/regress-303277.js rename : js/tests/js1_5/extensions/regress-304897.js => js/src/tests/js1_5/extensions/regress-304897.js rename : js/tests/js1_5/extensions/regress-306738.js => js/src/tests/js1_5/extensions/regress-306738.js rename : js/tests/js1_5/extensions/regress-311161.js => js/src/tests/js1_5/extensions/regress-311161.js rename : js/tests/js1_5/extensions/regress-311583.js => js/src/tests/js1_5/extensions/regress-311583.js rename : js/tests/js1_5/extensions/regress-311792-01.js => js/src/tests/js1_5/extensions/regress-311792-01.js rename : js/tests/js1_5/extensions/regress-311792-02.js => js/src/tests/js1_5/extensions/regress-311792-02.js rename : js/tests/js1_5/extensions/regress-312278.js => js/src/tests/js1_5/extensions/regress-312278.js rename : js/tests/js1_5/extensions/regress-313500.js => js/src/tests/js1_5/extensions/regress-313500.js rename : js/tests/js1_5/extensions/regress-313630.js => js/src/tests/js1_5/extensions/regress-313630.js rename : js/tests/js1_5/extensions/regress-313763.js => js/src/tests/js1_5/extensions/regress-313763.js rename : js/tests/js1_5/extensions/regress-313803.js => js/src/tests/js1_5/extensions/regress-313803.js rename : js/tests/js1_5/extensions/regress-313938.js => js/src/tests/js1_5/extensions/regress-313938.js rename : js/tests/js1_5/extensions/regress-314874.js => js/src/tests/js1_5/extensions/regress-314874.js rename : js/tests/js1_5/extensions/regress-315509-02.js => js/src/tests/js1_5/extensions/regress-315509-02.js rename : js/tests/js1_5/extensions/regress-319683.js => js/src/tests/js1_5/extensions/regress-319683.js rename : js/tests/js1_5/extensions/regress-322957.js => js/src/tests/js1_5/extensions/regress-322957.js rename : js/tests/js1_5/extensions/regress-325269.js => js/src/tests/js1_5/extensions/regress-325269.js rename : js/tests/js1_5/extensions/regress-327608.js => js/src/tests/js1_5/extensions/regress-327608.js rename : js/tests/js1_5/extensions/regress-328443.js => js/src/tests/js1_5/extensions/regress-328443.js rename : js/tests/js1_5/extensions/regress-328556.js => js/src/tests/js1_5/extensions/regress-328556.js rename : js/tests/js1_5/extensions/regress-330569.js => js/src/tests/js1_5/extensions/regress-330569.js rename : js/tests/js1_5/extensions/regress-333541.js => js/src/tests/js1_5/extensions/regress-333541.js rename : js/tests/js1_5/extensions/regress-335700.js => js/src/tests/js1_5/extensions/regress-335700.js rename : js/tests/js1_5/extensions/regress-336409-1.js => js/src/tests/js1_5/extensions/regress-336409-1.js rename : js/tests/js1_5/extensions/regress-336409-2.js => js/src/tests/js1_5/extensions/regress-336409-2.js rename : js/tests/js1_5/extensions/regress-336410-1.js => js/src/tests/js1_5/extensions/regress-336410-1.js rename : js/tests/js1_5/extensions/regress-336410-2.js => js/src/tests/js1_5/extensions/regress-336410-2.js rename : js/tests/js1_5/extensions/regress-338804-01.js => js/src/tests/js1_5/extensions/regress-338804-01.js rename : js/tests/js1_5/extensions/regress-338804-02.js => js/src/tests/js1_5/extensions/regress-338804-02.js rename : js/tests/js1_5/extensions/regress-338804-03.js => js/src/tests/js1_5/extensions/regress-338804-03.js rename : js/tests/js1_5/extensions/regress-339685.js => js/src/tests/js1_5/extensions/regress-339685.js rename : js/tests/js1_5/extensions/regress-340199.js => js/src/tests/js1_5/extensions/regress-340199.js rename : js/tests/js1_5/extensions/regress-341956-01.js => js/src/tests/js1_5/extensions/regress-341956-01.js rename : js/tests/js1_5/extensions/regress-341956-02.js => js/src/tests/js1_5/extensions/regress-341956-02.js rename : js/tests/js1_5/extensions/regress-341956-03.js => js/src/tests/js1_5/extensions/regress-341956-03.js rename : js/tests/js1_5/extensions/regress-342960.js => js/src/tests/js1_5/extensions/regress-342960.js rename : js/tests/js1_5/extensions/regress-345967.js => js/src/tests/js1_5/extensions/regress-345967.js rename : js/tests/js1_5/extensions/regress-346494-01.js => js/src/tests/js1_5/extensions/regress-346494-01.js rename : js/tests/js1_5/extensions/regress-346494.js => js/src/tests/js1_5/extensions/regress-346494.js rename : js/tests/js1_5/extensions/regress-347306-02.js => js/src/tests/js1_5/extensions/regress-347306-02.js rename : js/tests/js1_5/extensions/regress-348986.js => js/src/tests/js1_5/extensions/regress-348986.js rename : js/tests/js1_5/extensions/regress-349616.js => js/src/tests/js1_5/extensions/regress-349616.js rename : js/tests/js1_5/extensions/regress-350312-01.js => js/src/tests/js1_5/extensions/regress-350312-01.js rename : js/tests/js1_5/extensions/regress-350312-02.js => js/src/tests/js1_5/extensions/regress-350312-02.js rename : js/tests/js1_5/extensions/regress-350312-03.js => js/src/tests/js1_5/extensions/regress-350312-03.js rename : js/tests/js1_5/extensions/regress-350531.js => js/src/tests/js1_5/extensions/regress-350531.js rename : js/tests/js1_5/extensions/regress-351102-01.js => js/src/tests/js1_5/extensions/regress-351102-01.js rename : js/tests/js1_5/extensions/regress-351102-02.js => js/src/tests/js1_5/extensions/regress-351102-02.js rename : js/tests/js1_5/extensions/regress-351102-06.js => js/src/tests/js1_5/extensions/regress-351102-06.js rename : js/tests/js1_5/extensions/regress-351448.js => js/src/tests/js1_5/extensions/regress-351448.js rename : js/tests/js1_5/extensions/regress-351463-01.js => js/src/tests/js1_5/extensions/regress-351463-01.js rename : js/tests/js1_5/extensions/regress-351973.js => js/src/tests/js1_5/extensions/regress-351973.js rename : js/tests/js1_5/extensions/regress-352060.js => js/src/tests/js1_5/extensions/regress-352060.js rename : js/tests/js1_5/extensions/regress-352094.js => js/src/tests/js1_5/extensions/regress-352094.js rename : js/tests/js1_5/extensions/regress-352261.js => js/src/tests/js1_5/extensions/regress-352261.js rename : js/tests/js1_5/extensions/regress-352281.js => js/src/tests/js1_5/extensions/regress-352281.js rename : js/tests/js1_5/extensions/regress-352291.js => js/src/tests/js1_5/extensions/regress-352291.js rename : js/tests/js1_5/extensions/regress-352372.js => js/src/tests/js1_5/extensions/regress-352372.js rename : js/tests/js1_5/extensions/regress-352455.js => js/src/tests/js1_5/extensions/regress-352455.js rename : js/tests/js1_5/extensions/regress-352604.js => js/src/tests/js1_5/extensions/regress-352604.js rename : js/tests/js1_5/extensions/regress-353214.js => js/src/tests/js1_5/extensions/regress-353214.js rename : js/tests/js1_5/extensions/regress-354297.js => js/src/tests/js1_5/extensions/regress-354297.js rename : js/tests/js1_5/extensions/regress-354541-01.js => js/src/tests/js1_5/extensions/regress-354541-01.js rename : js/tests/js1_5/extensions/regress-354541-02.js => js/src/tests/js1_5/extensions/regress-354541-02.js rename : js/tests/js1_5/extensions/regress-354541-03.js => js/src/tests/js1_5/extensions/regress-354541-03.js rename : js/tests/js1_5/extensions/regress-354541-04.js => js/src/tests/js1_5/extensions/regress-354541-04.js rename : js/tests/js1_5/extensions/regress-355339.js => js/src/tests/js1_5/extensions/regress-355339.js rename : js/tests/js1_5/extensions/regress-355497.js => js/src/tests/js1_5/extensions/regress-355497.js rename : js/tests/js1_5/extensions/regress-355622.js => js/src/tests/js1_5/extensions/regress-355622.js rename : js/tests/js1_5/extensions/regress-355655.js => js/src/tests/js1_5/extensions/regress-355655.js rename : js/tests/js1_5/extensions/regress-355736.js => js/src/tests/js1_5/extensions/regress-355736.js rename : js/tests/js1_5/extensions/regress-355820.js => js/src/tests/js1_5/extensions/regress-355820.js rename : js/tests/js1_5/extensions/regress-355982.js => js/src/tests/js1_5/extensions/regress-355982.js rename : js/tests/js1_5/extensions/regress-356085.js => js/src/tests/js1_5/extensions/regress-356085.js rename : js/tests/js1_5/extensions/regress-356106.js => js/src/tests/js1_5/extensions/regress-356106.js rename : js/tests/js1_5/extensions/regress-356378.js => js/src/tests/js1_5/extensions/regress-356378.js rename : js/tests/js1_5/extensions/regress-356402.js => js/src/tests/js1_5/extensions/regress-356402.js rename : js/tests/js1_5/extensions/regress-358594-01.js => js/src/tests/js1_5/extensions/regress-358594-01.js rename : js/tests/js1_5/extensions/regress-358594-02.js => js/src/tests/js1_5/extensions/regress-358594-02.js rename : js/tests/js1_5/extensions/regress-358594-03.js => js/src/tests/js1_5/extensions/regress-358594-03.js rename : js/tests/js1_5/extensions/regress-358594-04.js => js/src/tests/js1_5/extensions/regress-358594-04.js rename : js/tests/js1_5/extensions/regress-358594-05.js => js/src/tests/js1_5/extensions/regress-358594-05.js rename : js/tests/js1_5/extensions/regress-358594-06.js => js/src/tests/js1_5/extensions/regress-358594-06.js rename : js/tests/js1_5/extensions/regress-359024.js => js/src/tests/js1_5/extensions/regress-359024.js rename : js/tests/js1_5/extensions/regress-361346.js => js/src/tests/js1_5/extensions/regress-361346.js rename : js/tests/js1_5/extensions/regress-361360.js => js/src/tests/js1_5/extensions/regress-361360.js rename : js/tests/js1_5/extensions/regress-361552.js => js/src/tests/js1_5/extensions/regress-361552.js rename : js/tests/js1_5/extensions/regress-361558.js => js/src/tests/js1_5/extensions/regress-361558.js rename : js/tests/js1_5/extensions/regress-361571.js => js/src/tests/js1_5/extensions/regress-361571.js rename : js/tests/js1_5/extensions/regress-361856.js => js/src/tests/js1_5/extensions/regress-361856.js rename : js/tests/js1_5/extensions/regress-361964.js => js/src/tests/js1_5/extensions/regress-361964.js rename : js/tests/js1_5/extensions/regress-363258.js => js/src/tests/js1_5/extensions/regress-363258.js rename : js/tests/js1_5/extensions/regress-363988.js => js/src/tests/js1_5/extensions/regress-363988.js rename : js/tests/js1_5/extensions/regress-365527.js => js/src/tests/js1_5/extensions/regress-365527.js rename : js/tests/js1_5/extensions/regress-365692.js => js/src/tests/js1_5/extensions/regress-365692.js rename : js/tests/js1_5/extensions/regress-365869.js => js/src/tests/js1_5/extensions/regress-365869.js rename : js/tests/js1_5/extensions/regress-366288.js => js/src/tests/js1_5/extensions/regress-366288.js rename : js/tests/js1_5/extensions/regress-366292.js => js/src/tests/js1_5/extensions/regress-366292.js rename : js/tests/js1_5/extensions/regress-366396.js => js/src/tests/js1_5/extensions/regress-366396.js rename : js/tests/js1_5/extensions/regress-367118-01.js => js/src/tests/js1_5/extensions/regress-367118-01.js rename : js/tests/js1_5/extensions/regress-367118-02.js => js/src/tests/js1_5/extensions/regress-367118-02.js rename : js/tests/js1_5/extensions/regress-367119-01.js => js/src/tests/js1_5/extensions/regress-367119-01.js rename : js/tests/js1_5/extensions/regress-367119-02.js => js/src/tests/js1_5/extensions/regress-367119-02.js rename : js/tests/js1_5/extensions/regress-367120-01.js => js/src/tests/js1_5/extensions/regress-367120-01.js rename : js/tests/js1_5/extensions/regress-367120-02.js => js/src/tests/js1_5/extensions/regress-367120-02.js rename : js/tests/js1_5/extensions/regress-367121.js => js/src/tests/js1_5/extensions/regress-367121.js rename : js/tests/js1_5/extensions/regress-367501-01.js => js/src/tests/js1_5/extensions/regress-367501-01.js rename : js/tests/js1_5/extensions/regress-367501-02.js => js/src/tests/js1_5/extensions/regress-367501-02.js rename : js/tests/js1_5/extensions/regress-367501-03.js => js/src/tests/js1_5/extensions/regress-367501-03.js rename : js/tests/js1_5/extensions/regress-367501-04.js => js/src/tests/js1_5/extensions/regress-367501-04.js rename : js/tests/js1_5/extensions/regress-367589.js => js/src/tests/js1_5/extensions/regress-367589.js rename : js/tests/js1_5/extensions/regress-367630.js => js/src/tests/js1_5/extensions/regress-367630.js rename : js/tests/js1_5/extensions/regress-367923.js => js/src/tests/js1_5/extensions/regress-367923.js rename : js/tests/js1_5/extensions/regress-368859.js => js/src/tests/js1_5/extensions/regress-368859.js rename : js/tests/js1_5/extensions/regress-369404.js => js/src/tests/js1_5/extensions/regress-369404.js rename : js/tests/js1_5/extensions/regress-369696-01.js => js/src/tests/js1_5/extensions/regress-369696-01.js rename : js/tests/js1_5/extensions/regress-369696-02.js => js/src/tests/js1_5/extensions/regress-369696-02.js rename : js/tests/js1_5/extensions/regress-369696-03.js => js/src/tests/js1_5/extensions/regress-369696-03.js rename : js/tests/js1_5/extensions/regress-371636.js => js/src/tests/js1_5/extensions/regress-371636.js rename : js/tests/js1_5/extensions/regress-372309.js => js/src/tests/js1_5/extensions/regress-372309.js rename : js/tests/js1_5/extensions/regress-374589.js => js/src/tests/js1_5/extensions/regress-374589.js rename : js/tests/js1_5/extensions/regress-375183.js => js/src/tests/js1_5/extensions/regress-375183.js rename : js/tests/js1_5/extensions/regress-375344.js => js/src/tests/js1_5/extensions/regress-375344.js rename : js/tests/js1_5/extensions/regress-375801.js => js/src/tests/js1_5/extensions/regress-375801.js rename : js/tests/js1_5/extensions/regress-376052.js => js/src/tests/js1_5/extensions/regress-376052.js rename : js/tests/js1_5/extensions/regress-379523.js => js/src/tests/js1_5/extensions/regress-379523.js rename : js/tests/js1_5/extensions/regress-380581.js => js/src/tests/js1_5/extensions/regress-380581.js rename : js/tests/js1_5/extensions/regress-380831.js => js/src/tests/js1_5/extensions/regress-380831.js rename : js/tests/js1_5/extensions/regress-380889.js => js/src/tests/js1_5/extensions/regress-380889.js rename : js/tests/js1_5/extensions/regress-381205.js => js/src/tests/js1_5/extensions/regress-381205.js rename : js/tests/js1_5/extensions/regress-381211.js => js/src/tests/js1_5/extensions/regress-381211.js rename : js/tests/js1_5/extensions/regress-381304.js => js/src/tests/js1_5/extensions/regress-381304.js rename : js/tests/js1_5/extensions/regress-382509.js => js/src/tests/js1_5/extensions/regress-382509.js rename : js/tests/js1_5/extensions/regress-383965.js => js/src/tests/js1_5/extensions/regress-383965.js rename : js/tests/js1_5/extensions/regress-384680.js => js/src/tests/js1_5/extensions/regress-384680.js rename : js/tests/js1_5/extensions/regress-385134.js => js/src/tests/js1_5/extensions/regress-385134.js rename : js/tests/js1_5/extensions/regress-385393-02.js => js/src/tests/js1_5/extensions/regress-385393-02.js rename : js/tests/js1_5/extensions/regress-385393-09.js => js/src/tests/js1_5/extensions/regress-385393-09.js rename : js/tests/js1_5/extensions/regress-390597.js => js/src/tests/js1_5/extensions/regress-390597.js rename : js/tests/js1_5/extensions/regress-394967.js => js/src/tests/js1_5/extensions/regress-394967.js rename : js/tests/js1_5/extensions/regress-396326.js => js/src/tests/js1_5/extensions/regress-396326.js rename : js/tests/js1_5/extensions/regress-406572.js => js/src/tests/js1_5/extensions/regress-406572.js rename : js/tests/js1_5/extensions/regress-407019.js => js/src/tests/js1_5/extensions/regress-407019.js rename : js/tests/js1_5/extensions/regress-407501.js => js/src/tests/js1_5/extensions/regress-407501.js rename : js/tests/js1_5/extensions/regress-407720.js => js/src/tests/js1_5/extensions/regress-407720.js rename : js/tests/js1_5/extensions/regress-412926.js => js/src/tests/js1_5/extensions/regress-412926.js rename : js/tests/js1_5/extensions/regress-414755.js => js/src/tests/js1_5/extensions/regress-414755.js rename : js/tests/js1_5/extensions/regress-416354.js => js/src/tests/js1_5/extensions/regress-416354.js rename : js/tests/js1_5/extensions/regress-416460.js => js/src/tests/js1_5/extensions/regress-416460.js rename : js/tests/js1_5/extensions/regress-416834.js => js/src/tests/js1_5/extensions/regress-416834.js rename : js/tests/js1_5/extensions/regress-418730.js => js/src/tests/js1_5/extensions/regress-418730.js rename : js/tests/js1_5/extensions/regress-420612.js => js/src/tests/js1_5/extensions/regress-420612.js rename : js/tests/js1_5/extensions/regress-420869-01.js => js/src/tests/js1_5/extensions/regress-420869-01.js rename : js/tests/js1_5/extensions/regress-421621.js => js/src/tests/js1_5/extensions/regress-421621.js rename : js/tests/js1_5/extensions/regress-422137.js => js/src/tests/js1_5/extensions/regress-422137.js rename : js/tests/js1_5/extensions/regress-422592.js => js/src/tests/js1_5/extensions/regress-422592.js rename : js/tests/js1_5/extensions/regress-424257.js => js/src/tests/js1_5/extensions/regress-424257.js rename : js/tests/js1_5/extensions/regress-424683-01.js => js/src/tests/js1_5/extensions/regress-424683-01.js rename : js/tests/js1_5/extensions/regress-426711.js => js/src/tests/js1_5/extensions/regress-426711.js rename : js/tests/js1_5/extensions/regress-427196-01.js => js/src/tests/js1_5/extensions/regress-427196-01.js rename : js/tests/js1_5/extensions/regress-427196-02.js => js/src/tests/js1_5/extensions/regress-427196-02.js rename : js/tests/js1_5/extensions/regress-427196-03.js => js/src/tests/js1_5/extensions/regress-427196-03.js rename : js/tests/js1_5/extensions/regress-429264.js => js/src/tests/js1_5/extensions/regress-429264.js rename : js/tests/js1_5/extensions/regress-431428.js => js/src/tests/js1_5/extensions/regress-431428.js rename : js/tests/js1_5/extensions/regress-432075.js => js/src/tests/js1_5/extensions/regress-432075.js rename : js/tests/js1_5/extensions/regress-434837-01.js => js/src/tests/js1_5/extensions/regress-434837-01.js rename : js/tests/js1_5/extensions/regress-435345-01.js => js/src/tests/js1_5/extensions/regress-435345-01.js rename : js/tests/js1_5/extensions/regress-435497-01.js => js/src/tests/js1_5/extensions/regress-435497-01.js rename : js/tests/js1_5/extensions/regress-435497-02.js => js/src/tests/js1_5/extensions/regress-435497-02.js rename : js/tests/js1_5/extensions/regress-435497-03.js => js/src/tests/js1_5/extensions/regress-435497-03.js rename : js/tests/js1_5/extensions/regress-436741.js => js/src/tests/js1_5/extensions/regress-436741.js rename : js/tests/js1_5/extensions/regress-437288-01.js => js/src/tests/js1_5/extensions/regress-437288-01.js rename : js/tests/js1_5/extensions/regress-44009.js => js/src/tests/js1_5/extensions/regress-44009.js rename : js/tests/js1_5/extensions/regress-443569.js => js/src/tests/js1_5/extensions/regress-443569.js rename : js/tests/js1_5/extensions/regress-446386.js => js/src/tests/js1_5/extensions/regress-446386.js rename : js/tests/js1_5/extensions/regress-449657.js => js/src/tests/js1_5/extensions/regress-449657.js rename : js/tests/js1_5/extensions/regress-452168.js => js/src/tests/js1_5/extensions/regress-452168.js rename : js/tests/js1_5/extensions/regress-452178.js => js/src/tests/js1_5/extensions/regress-452178.js rename : js/tests/js1_5/extensions/regress-452329.js => js/src/tests/js1_5/extensions/regress-452329.js rename : js/tests/js1_5/extensions/regress-452338.js => js/src/tests/js1_5/extensions/regress-452338.js rename : js/tests/js1_5/extensions/regress-452372.js => js/src/tests/js1_5/extensions/regress-452372.js rename : js/tests/js1_5/extensions/regress-452565.js => js/src/tests/js1_5/extensions/regress-452565.js rename : js/tests/js1_5/extensions/regress-453249.js => js/src/tests/js1_5/extensions/regress-453249.js rename : js/tests/js1_5/extensions/regress-454040.js => js/src/tests/js1_5/extensions/regress-454040.js rename : js/tests/js1_5/extensions/regress-454142.js => js/src/tests/js1_5/extensions/regress-454142.js rename : js/tests/js1_5/extensions/regress-454704.js => js/src/tests/js1_5/extensions/regress-454704.js rename : js/tests/js1_5/extensions/regress-455380.js => js/src/tests/js1_5/extensions/regress-455380.js rename : js/tests/js1_5/extensions/regress-455408.js => js/src/tests/js1_5/extensions/regress-455408.js rename : js/tests/js1_5/extensions/regress-455413.js => js/src/tests/js1_5/extensions/regress-455413.js rename : js/tests/js1_5/extensions/regress-459606.js => js/src/tests/js1_5/extensions/regress-459606.js rename : js/tests/js1_5/extensions/regress-462734-02.js => js/src/tests/js1_5/extensions/regress-462734-02.js rename : js/tests/js1_5/extensions/regress-462734-03.js => js/src/tests/js1_5/extensions/regress-462734-03.js rename : js/tests/js1_5/extensions/regress-462734-04.js => js/src/tests/js1_5/extensions/regress-462734-04.js rename : js/tests/js1_5/extensions/regress-465276.js => js/src/tests/js1_5/extensions/regress-465276.js rename : js/tests/js1_5/extensions/regress-469625.js => js/src/tests/js1_5/extensions/regress-469625.js rename : js/tests/js1_5/extensions/regress-469761.js => js/src/tests/js1_5/extensions/regress-469761.js rename : js/tests/js1_5/extensions/regress-472599.js => js/src/tests/js1_5/extensions/regress-472599.js rename : js/tests/js1_5/extensions/regress-472787.js => js/src/tests/js1_5/extensions/regress-472787.js rename : js/tests/js1_5/extensions/regress-476447.js => js/src/tests/js1_5/extensions/regress-476447.js rename : js/tests/js1_5/extensions/regress-479487.js => js/src/tests/js1_5/extensions/regress-479487.js rename : js/tests/js1_5/extensions/regress-479551.js => js/src/tests/js1_5/extensions/regress-479551.js rename : js/tests/js1_5/extensions/regress-480579.js => js/src/tests/js1_5/extensions/regress-480579.js rename : js/tests/js1_5/extensions/regress-481516.js => js/src/tests/js1_5/extensions/regress-481516.js rename : js/tests/js1_5/extensions/regress-488995.js => js/src/tests/js1_5/extensions/regress-488995.js rename : js/tests/js1_5/extensions/regress-50447-1.js => js/src/tests/js1_5/extensions/regress-50447-1.js rename : js/tests/js1_5/extensions/regress-50447.js => js/src/tests/js1_5/extensions/regress-50447.js rename : js/tests/js1_5/extensions/regress-90596-001.js => js/src/tests/js1_5/extensions/regress-90596-001.js rename : js/tests/js1_5/extensions/regress-90596-002.js => js/src/tests/js1_5/extensions/regress-90596-002.js rename : js/tests/js1_5/extensions/regress-96284-001.js => js/src/tests/js1_5/extensions/regress-96284-001.js rename : js/tests/js1_5/extensions/regress-96284-002.js => js/src/tests/js1_5/extensions/regress-96284-002.js rename : js/tests/js1_5/extensions/scope-001.js => js/src/tests/js1_5/extensions/scope-001.js rename : js/tests/js1_5/extensions/shell.js => js/src/tests/js1_5/extensions/shell.js rename : js/tests/js1_5/extensions/toLocaleFormat-01.js => js/src/tests/js1_5/extensions/toLocaleFormat-01.js rename : js/tests/js1_5/extensions/toLocaleFormat-02.js => js/src/tests/js1_5/extensions/toLocaleFormat-02.js rename : js/tests/js1_5/shell.js => js/src/tests/js1_5/shell.js rename : js/tests/js1_5/template.js => js/src/tests/js1_5/template.js rename : js/tests/js1_6/Array/browser.js => js/src/tests/js1_6/Array/browser.js rename : js/tests/js1_6/Array/filter.js => js/src/tests/js1_6/Array/filter.js rename : js/tests/js1_6/Array/regress-290592.js => js/src/tests/js1_6/Array/regress-290592.js rename : js/tests/js1_6/Array/regress-304828.js => js/src/tests/js1_6/Array/regress-304828.js rename : js/tests/js1_6/Array/regress-305002.js => js/src/tests/js1_6/Array/regress-305002.js rename : js/tests/js1_6/Array/regress-310425-01.js => js/src/tests/js1_6/Array/regress-310425-01.js rename : js/tests/js1_6/Array/regress-310425-02.js => js/src/tests/js1_6/Array/regress-310425-02.js rename : js/tests/js1_6/Array/regress-320887.js => js/src/tests/js1_6/Array/regress-320887.js rename : js/tests/js1_6/Array/regress-352742-01.js => js/src/tests/js1_6/Array/regress-352742-01.js rename : js/tests/js1_6/Array/regress-352742-02.js => js/src/tests/js1_6/Array/regress-352742-02.js rename : js/tests/js1_6/Array/regress-386030.js => js/src/tests/js1_6/Array/regress-386030.js rename : js/tests/js1_6/Array/regress-415451.js => js/src/tests/js1_6/Array/regress-415451.js rename : js/tests/js1_6/Array/regress-415540.js => js/src/tests/js1_6/Array/regress-415540.js rename : js/tests/js1_6/Array/shell.js => js/src/tests/js1_6/Array/shell.js rename : js/tests/js1_6/README => js/src/tests/js1_6/README rename : js/tests/js1_6/Regress/browser.js => js/src/tests/js1_6/Regress/browser.js rename : js/tests/js1_6/Regress/regress-301574.js => js/src/tests/js1_6/Regress/regress-301574.js rename : js/tests/js1_6/Regress/regress-311157-01.js => js/src/tests/js1_6/Regress/regress-311157-01.js rename : js/tests/js1_6/Regress/regress-311157-02.js => js/src/tests/js1_6/Regress/regress-311157-02.js rename : js/tests/js1_6/Regress/regress-314887.js => js/src/tests/js1_6/Regress/regress-314887.js rename : js/tests/js1_6/Regress/regress-320172.js => js/src/tests/js1_6/Regress/regress-320172.js rename : js/tests/js1_6/Regress/regress-350417.js => js/src/tests/js1_6/Regress/regress-350417.js rename : js/tests/js1_6/Regress/regress-351795.js => js/src/tests/js1_6/Regress/regress-351795.js rename : js/tests/js1_6/Regress/regress-352271.js => js/src/tests/js1_6/Regress/regress-352271.js rename : js/tests/js1_6/Regress/regress-353078.js => js/src/tests/js1_6/Regress/regress-353078.js rename : js/tests/js1_6/Regress/regress-355002.js => js/src/tests/js1_6/Regress/regress-355002.js rename : js/tests/js1_6/Regress/regress-372565.js => js/src/tests/js1_6/Regress/regress-372565.js rename : js/tests/js1_6/Regress/regress-378492.js => js/src/tests/js1_6/Regress/regress-378492.js rename : js/tests/js1_6/Regress/regress-382509.js => js/src/tests/js1_6/Regress/regress-382509.js rename : js/tests/js1_6/Regress/regress-475469.js => js/src/tests/js1_6/Regress/regress-475469.js rename : js/tests/js1_6/Regress/regress-476655.js => js/src/tests/js1_6/Regress/regress-476655.js rename : js/tests/js1_6/Regress/shell.js => js/src/tests/js1_6/Regress/shell.js rename : js/tests/js1_6/String/browser.js => js/src/tests/js1_6/String/browser.js rename : js/tests/js1_6/String/regress-306591.js => js/src/tests/js1_6/String/regress-306591.js rename : js/tests/js1_6/String/shell.js => js/src/tests/js1_6/String/shell.js rename : js/tests/js1_6/browser.js => js/src/tests/js1_6/browser.js rename : js/tests/js1_6/decompilation/browser.js => js/src/tests/js1_6/decompilation/browser.js rename : js/tests/js1_6/decompilation/regress-352084.js => js/src/tests/js1_6/decompilation/regress-352084.js rename : js/tests/js1_6/decompilation/regress-352613-01.js => js/src/tests/js1_6/decompilation/regress-352613-01.js rename : js/tests/js1_6/decompilation/regress-352613-02.js => js/src/tests/js1_6/decompilation/regress-352613-02.js rename : js/tests/js1_6/decompilation/shell.js => js/src/tests/js1_6/decompilation/shell.js rename : js/tests/js1_6/extensions/browser.js => js/src/tests/js1_6/extensions/browser.js rename : js/tests/js1_6/extensions/regress-312385-01.js => js/src/tests/js1_6/extensions/regress-312385-01.js rename : js/tests/js1_6/extensions/regress-352392.js => js/src/tests/js1_6/extensions/regress-352392.js rename : js/tests/js1_6/extensions/regress-385393-08.js => js/src/tests/js1_6/extensions/regress-385393-08.js rename : js/tests/js1_6/extensions/regress-414098.js => js/src/tests/js1_6/extensions/regress-414098.js rename : js/tests/js1_6/extensions/regress-455464-01.js => js/src/tests/js1_6/extensions/regress-455464-01.js rename : js/tests/js1_6/extensions/regress-455464-02.js => js/src/tests/js1_6/extensions/regress-455464-02.js rename : js/tests/js1_6/extensions/regress-455464-03.js => js/src/tests/js1_6/extensions/regress-455464-03.js rename : js/tests/js1_6/extensions/regress-455464-04.js => js/src/tests/js1_6/extensions/regress-455464-04.js rename : js/tests/js1_6/extensions/regress-456826.js => js/src/tests/js1_6/extensions/regress-456826.js rename : js/tests/js1_6/extensions/regress-457521.js => js/src/tests/js1_6/extensions/regress-457521.js rename : js/tests/js1_6/extensions/regress-465443.js => js/src/tests/js1_6/extensions/regress-465443.js rename : js/tests/js1_6/extensions/regress-470310.js => js/src/tests/js1_6/extensions/regress-470310.js rename : js/tests/js1_6/extensions/regress-472508.js => js/src/tests/js1_6/extensions/regress-472508.js rename : js/tests/js1_6/extensions/regress-475144.js => js/src/tests/js1_6/extensions/regress-475144.js rename : js/tests/js1_6/extensions/shell.js => js/src/tests/js1_6/extensions/shell.js rename : js/tests/js1_6/shell.js => js/src/tests/js1_6/shell.js rename : js/tests/js1_6/template.js => js/src/tests/js1_6/template.js rename : js/tests/js1_7/GC/browser.js => js/src/tests/js1_7/GC/browser.js rename : js/tests/js1_7/GC/regress-341675.js => js/src/tests/js1_7/GC/regress-341675.js rename : js/tests/js1_7/GC/regress-381374.js => js/src/tests/js1_7/GC/regress-381374.js rename : js/tests/js1_7/GC/shell.js => js/src/tests/js1_7/GC/shell.js rename : js/tests/js1_7/README => js/src/tests/js1_7/README rename : js/tests/js1_7/block/browser.js => js/src/tests/js1_7/block/browser.js rename : js/tests/js1_7/block/order-of-operation.js => js/src/tests/js1_7/block/order-of-operation.js rename : js/tests/js1_7/block/regress-341939.js => js/src/tests/js1_7/block/regress-341939.js rename : js/tests/js1_7/block/regress-343765.js => js/src/tests/js1_7/block/regress-343765.js rename : js/tests/js1_7/block/regress-344139.js => js/src/tests/js1_7/block/regress-344139.js rename : js/tests/js1_7/block/regress-344262.js => js/src/tests/js1_7/block/regress-344262.js rename : js/tests/js1_7/block/regress-344370.js => js/src/tests/js1_7/block/regress-344370.js rename : js/tests/js1_7/block/regress-344601.js => js/src/tests/js1_7/block/regress-344601.js rename : js/tests/js1_7/block/regress-345542.js => js/src/tests/js1_7/block/regress-345542.js rename : js/tests/js1_7/block/regress-347559.js => js/src/tests/js1_7/block/regress-347559.js rename : js/tests/js1_7/block/regress-348685.js => js/src/tests/js1_7/block/regress-348685.js rename : js/tests/js1_7/block/regress-349283.js => js/src/tests/js1_7/block/regress-349283.js rename : js/tests/js1_7/block/regress-349298.js => js/src/tests/js1_7/block/regress-349298.js rename : js/tests/js1_7/block/regress-349507.js => js/src/tests/js1_7/block/regress-349507.js rename : js/tests/js1_7/block/regress-349653.js => js/src/tests/js1_7/block/regress-349653.js rename : js/tests/js1_7/block/regress-349962.js => js/src/tests/js1_7/block/regress-349962.js rename : js/tests/js1_7/block/regress-350279.js => js/src/tests/js1_7/block/regress-350279.js rename : js/tests/js1_7/block/regress-350730.js => js/src/tests/js1_7/block/regress-350730.js rename : js/tests/js1_7/block/regress-350793-01.js => js/src/tests/js1_7/block/regress-350793-01.js rename : js/tests/js1_7/block/regress-351497.js => js/src/tests/js1_7/block/regress-351497.js rename : js/tests/js1_7/block/regress-351606.js => js/src/tests/js1_7/block/regress-351606.js rename : js/tests/js1_7/block/regress-351794.js => js/src/tests/js1_7/block/regress-351794.js rename : js/tests/js1_7/block/regress-352092.js => js/src/tests/js1_7/block/regress-352092.js rename : js/tests/js1_7/block/regress-352185.js => js/src/tests/js1_7/block/regress-352185.js rename : js/tests/js1_7/block/regress-352212.js => js/src/tests/js1_7/block/regress-352212.js rename : js/tests/js1_7/block/regress-352267.js => js/src/tests/js1_7/block/regress-352267.js rename : js/tests/js1_7/block/regress-352422.js => js/src/tests/js1_7/block/regress-352422.js rename : js/tests/js1_7/block/regress-352609.js => js/src/tests/js1_7/block/regress-352609.js rename : js/tests/js1_7/block/regress-352616.js => js/src/tests/js1_7/block/regress-352616.js rename : js/tests/js1_7/block/regress-352624.js => js/src/tests/js1_7/block/regress-352624.js rename : js/tests/js1_7/block/regress-352786.js => js/src/tests/js1_7/block/regress-352786.js rename : js/tests/js1_7/block/regress-352907.js => js/src/tests/js1_7/block/regress-352907.js rename : js/tests/js1_7/block/regress-357754.js => js/src/tests/js1_7/block/regress-357754.js rename : js/tests/js1_7/block/regress-358508.js => js/src/tests/js1_7/block/regress-358508.js rename : js/tests/js1_7/block/regress-376410.js => js/src/tests/js1_7/block/regress-376410.js rename : js/tests/js1_7/block/regress-396900.js => js/src/tests/js1_7/block/regress-396900.js rename : js/tests/js1_7/block/regress-411279.js => js/src/tests/js1_7/block/regress-411279.js rename : js/tests/js1_7/block/shell.js => js/src/tests/js1_7/block/shell.js rename : js/tests/js1_7/browser.js => js/src/tests/js1_7/browser.js rename : js/tests/js1_7/decompilation/browser.js => js/src/tests/js1_7/decompilation/browser.js rename : js/tests/js1_7/decompilation/regress-346642-01.js => js/src/tests/js1_7/decompilation/regress-346642-01.js rename : js/tests/js1_7/decompilation/regress-348904.js => js/src/tests/js1_7/decompilation/regress-348904.js rename : js/tests/js1_7/decompilation/regress-349493.js => js/src/tests/js1_7/decompilation/regress-349493.js rename : js/tests/js1_7/decompilation/regress-349499.js => js/src/tests/js1_7/decompilation/regress-349499.js rename : js/tests/js1_7/decompilation/regress-349602.js => js/src/tests/js1_7/decompilation/regress-349602.js rename : js/tests/js1_7/decompilation/regress-349605.js => js/src/tests/js1_7/decompilation/regress-349605.js rename : js/tests/js1_7/decompilation/regress-349633.js => js/src/tests/js1_7/decompilation/regress-349633.js rename : js/tests/js1_7/decompilation/regress-349634.js => js/src/tests/js1_7/decompilation/regress-349634.js rename : js/tests/js1_7/decompilation/regress-350704.js => js/src/tests/js1_7/decompilation/regress-350704.js rename : js/tests/js1_7/decompilation/regress-350793-02.js => js/src/tests/js1_7/decompilation/regress-350793-02.js rename : js/tests/js1_7/decompilation/regress-350810.js => js/src/tests/js1_7/decompilation/regress-350810.js rename : js/tests/js1_7/decompilation/regress-350991.js => js/src/tests/js1_7/decompilation/regress-350991.js rename : js/tests/js1_7/decompilation/regress-351070-01.js => js/src/tests/js1_7/decompilation/regress-351070-01.js rename : js/tests/js1_7/decompilation/regress-351070-03.js => js/src/tests/js1_7/decompilation/regress-351070-03.js rename : js/tests/js1_7/decompilation/regress-351496.js => js/src/tests/js1_7/decompilation/regress-351496.js rename : js/tests/js1_7/decompilation/regress-352008.js => js/src/tests/js1_7/decompilation/regress-352008.js rename : js/tests/js1_7/decompilation/regress-352011.js => js/src/tests/js1_7/decompilation/regress-352011.js rename : js/tests/js1_7/decompilation/regress-352015.js => js/src/tests/js1_7/decompilation/regress-352015.js rename : js/tests/js1_7/decompilation/regress-352022.js => js/src/tests/js1_7/decompilation/regress-352022.js rename : js/tests/js1_7/decompilation/regress-352025.js => js/src/tests/js1_7/decompilation/regress-352025.js rename : js/tests/js1_7/decompilation/regress-352026.js => js/src/tests/js1_7/decompilation/regress-352026.js rename : js/tests/js1_7/decompilation/regress-352068.js => js/src/tests/js1_7/decompilation/regress-352068.js rename : js/tests/js1_7/decompilation/regress-352079.js => js/src/tests/js1_7/decompilation/regress-352079.js rename : js/tests/js1_7/decompilation/regress-352198.js => js/src/tests/js1_7/decompilation/regress-352198.js rename : js/tests/js1_7/decompilation/regress-352217.js => js/src/tests/js1_7/decompilation/regress-352217.js rename : js/tests/js1_7/decompilation/regress-352266.js => js/src/tests/js1_7/decompilation/regress-352266.js rename : js/tests/js1_7/decompilation/regress-352268.js => js/src/tests/js1_7/decompilation/regress-352268.js rename : js/tests/js1_7/decompilation/regress-352269.js => js/src/tests/js1_7/decompilation/regress-352269.js rename : js/tests/js1_7/decompilation/regress-352272.js => js/src/tests/js1_7/decompilation/regress-352272.js rename : js/tests/js1_7/decompilation/regress-352283.js => js/src/tests/js1_7/decompilation/regress-352283.js rename : js/tests/js1_7/decompilation/regress-352402.js => js/src/tests/js1_7/decompilation/regress-352402.js rename : js/tests/js1_7/decompilation/regress-352415.js => js/src/tests/js1_7/decompilation/regress-352415.js rename : js/tests/js1_7/decompilation/regress-352441.js => js/src/tests/js1_7/decompilation/regress-352441.js rename : js/tests/js1_7/decompilation/regress-352732.js => js/src/tests/js1_7/decompilation/regress-352732.js rename : js/tests/js1_7/decompilation/regress-355004.js => js/src/tests/js1_7/decompilation/regress-355004.js rename : js/tests/js1_7/decompilation/regress-355049-01.js => js/src/tests/js1_7/decompilation/regress-355049-01.js rename : js/tests/js1_7/decompilation/regress-355049-02.js => js/src/tests/js1_7/decompilation/regress-355049-02.js rename : js/tests/js1_7/decompilation/regress-355105.js => js/src/tests/js1_7/decompilation/regress-355105.js rename : js/tests/js1_7/decompilation/regress-355635.js => js/src/tests/js1_7/decompilation/regress-355635.js rename : js/tests/js1_7/decompilation/regress-355786.js => js/src/tests/js1_7/decompilation/regress-355786.js rename : js/tests/js1_7/decompilation/regress-356247.js => js/src/tests/js1_7/decompilation/regress-356247.js rename : js/tests/js1_7/decompilation/regress-371802.js => js/src/tests/js1_7/decompilation/regress-371802.js rename : js/tests/js1_7/decompilation/regress-374713.js => js/src/tests/js1_7/decompilation/regress-374713.js rename : js/tests/js1_7/decompilation/regress-375794.js => js/src/tests/js1_7/decompilation/regress-375794.js rename : js/tests/js1_7/decompilation/regress-379925.js => js/src/tests/js1_7/decompilation/regress-379925.js rename : js/tests/js1_7/decompilation/regress-380506.js => js/src/tests/js1_7/decompilation/regress-380506.js rename : js/tests/js1_7/decompilation/regress-381101.js => js/src/tests/js1_7/decompilation/regress-381101.js rename : js/tests/js1_7/decompilation/regress-381108.js => js/src/tests/js1_7/decompilation/regress-381108.js rename : js/tests/js1_7/decompilation/regress-410571.js => js/src/tests/js1_7/decompilation/regress-410571.js rename : js/tests/js1_7/decompilation/regress-410649.js => js/src/tests/js1_7/decompilation/regress-410649.js rename : js/tests/js1_7/decompilation/regress-429252.js => js/src/tests/js1_7/decompilation/regress-429252.js rename : js/tests/js1_7/decompilation/shell.js => js/src/tests/js1_7/decompilation/shell.js rename : js/tests/js1_7/expressions/browser.js => js/src/tests/js1_7/expressions/browser.js rename : js/tests/js1_7/expressions/destructuring-scope.js => js/src/tests/js1_7/expressions/destructuring-scope.js rename : js/tests/js1_7/expressions/regress-346203.js => js/src/tests/js1_7/expressions/regress-346203.js rename : js/tests/js1_7/expressions/regress-346645-01.js => js/src/tests/js1_7/expressions/regress-346645-01.js rename : js/tests/js1_7/expressions/regress-346645-02.js => js/src/tests/js1_7/expressions/regress-346645-02.js rename : js/tests/js1_7/expressions/regress-346645-03.js => js/src/tests/js1_7/expressions/regress-346645-03.js rename : js/tests/js1_7/expressions/regress-349624.js => js/src/tests/js1_7/expressions/regress-349624.js rename : js/tests/js1_7/expressions/regress-349818.js => js/src/tests/js1_7/expressions/regress-349818.js rename : js/tests/js1_7/expressions/regress-418051.js => js/src/tests/js1_7/expressions/regress-418051.js rename : js/tests/js1_7/expressions/regress-421806.js => js/src/tests/js1_7/expressions/regress-421806.js rename : js/tests/js1_7/expressions/regress-451340.js => js/src/tests/js1_7/expressions/regress-451340.js rename : js/tests/js1_7/expressions/shell.js => js/src/tests/js1_7/expressions/shell.js rename : js/tests/js1_7/extensions/basic-Iterator.js => js/src/tests/js1_7/extensions/basic-Iterator.js rename : js/tests/js1_7/extensions/basic-for-each.js => js/src/tests/js1_7/extensions/basic-for-each.js rename : js/tests/js1_7/extensions/basic-for-in.js => js/src/tests/js1_7/extensions/basic-for-in.js rename : js/tests/js1_7/extensions/browser.js => js/src/tests/js1_7/extensions/browser.js rename : js/tests/js1_7/extensions/destructuring-order.js => js/src/tests/js1_7/extensions/destructuring-order.js rename : js/tests/js1_7/extensions/iterator-ctor.js => js/src/tests/js1_7/extensions/iterator-ctor.js rename : js/tests/js1_7/extensions/regress-346021.js => js/src/tests/js1_7/extensions/regress-346021.js rename : js/tests/js1_7/extensions/regress-346642-02.js => js/src/tests/js1_7/extensions/regress-346642-02.js rename : js/tests/js1_7/extensions/regress-346642-06.js => js/src/tests/js1_7/extensions/regress-346642-06.js rename : js/tests/js1_7/extensions/regress-346773.js => js/src/tests/js1_7/extensions/regress-346773.js rename : js/tests/js1_7/extensions/regress-349619.js => js/src/tests/js1_7/extensions/regress-349619.js rename : js/tests/js1_7/extensions/regress-350312.js => js/src/tests/js1_7/extensions/regress-350312.js rename : js/tests/js1_7/extensions/regress-351070-02.js => js/src/tests/js1_7/extensions/regress-351070-02.js rename : js/tests/js1_7/extensions/regress-351102-03.js => js/src/tests/js1_7/extensions/regress-351102-03.js rename : js/tests/js1_7/extensions/regress-351102-04.js => js/src/tests/js1_7/extensions/regress-351102-04.js rename : js/tests/js1_7/extensions/regress-351102-05.js => js/src/tests/js1_7/extensions/regress-351102-05.js rename : js/tests/js1_7/extensions/regress-351102-07.js => js/src/tests/js1_7/extensions/regress-351102-07.js rename : js/tests/js1_7/extensions/regress-352797-01.js => js/src/tests/js1_7/extensions/regress-352797-01.js rename : js/tests/js1_7/extensions/regress-352885-01.js => js/src/tests/js1_7/extensions/regress-352885-01.js rename : js/tests/js1_7/extensions/regress-352885-02.js => js/src/tests/js1_7/extensions/regress-352885-02.js rename : js/tests/js1_7/extensions/regress-353214-01.js => js/src/tests/js1_7/extensions/regress-353214-01.js rename : js/tests/js1_7/extensions/regress-353214-02.js => js/src/tests/js1_7/extensions/regress-353214-02.js rename : js/tests/js1_7/extensions/regress-353249.js => js/src/tests/js1_7/extensions/regress-353249.js rename : js/tests/js1_7/extensions/regress-353454.js => js/src/tests/js1_7/extensions/regress-353454.js rename : js/tests/js1_7/extensions/regress-354499-01.js => js/src/tests/js1_7/extensions/regress-354499-01.js rename : js/tests/js1_7/extensions/regress-354499-02.js => js/src/tests/js1_7/extensions/regress-354499-02.js rename : js/tests/js1_7/extensions/regress-354945-01.js => js/src/tests/js1_7/extensions/regress-354945-01.js rename : js/tests/js1_7/extensions/regress-354945-02.js => js/src/tests/js1_7/extensions/regress-354945-02.js rename : js/tests/js1_7/extensions/regress-355052-01.js => js/src/tests/js1_7/extensions/regress-355052-01.js rename : js/tests/js1_7/extensions/regress-355052-02.js => js/src/tests/js1_7/extensions/regress-355052-02.js rename : js/tests/js1_7/extensions/regress-355052-03.js => js/src/tests/js1_7/extensions/regress-355052-03.js rename : js/tests/js1_7/extensions/regress-355145.js => js/src/tests/js1_7/extensions/regress-355145.js rename : js/tests/js1_7/extensions/regress-355410.js => js/src/tests/js1_7/extensions/regress-355410.js rename : js/tests/js1_7/extensions/regress-355512.js => js/src/tests/js1_7/extensions/regress-355512.js rename : js/tests/js1_7/extensions/regress-355578.js => js/src/tests/js1_7/extensions/regress-355578.js rename : js/tests/js1_7/extensions/regress-355583.js => js/src/tests/js1_7/extensions/regress-355583.js rename : js/tests/js1_7/extensions/regress-363040-01.js => js/src/tests/js1_7/extensions/regress-363040-01.js rename : js/tests/js1_7/extensions/regress-363040-02.js => js/src/tests/js1_7/extensions/regress-363040-02.js rename : js/tests/js1_7/extensions/regress-366668-01.js => js/src/tests/js1_7/extensions/regress-366668-01.js rename : js/tests/js1_7/extensions/regress-366668-02.js => js/src/tests/js1_7/extensions/regress-366668-02.js rename : js/tests/js1_7/extensions/regress-367629.js => js/src/tests/js1_7/extensions/regress-367629.js rename : js/tests/js1_7/extensions/regress-368213.js => js/src/tests/js1_7/extensions/regress-368213.js rename : js/tests/js1_7/extensions/regress-368224.js => js/src/tests/js1_7/extensions/regress-368224.js rename : js/tests/js1_7/extensions/regress-372364.js => js/src/tests/js1_7/extensions/regress-372364.js rename : js/tests/js1_7/extensions/regress-379482.js => js/src/tests/js1_7/extensions/regress-379482.js rename : js/tests/js1_7/extensions/regress-379566.js => js/src/tests/js1_7/extensions/regress-379566.js rename : js/tests/js1_7/extensions/regress-380933.js => js/src/tests/js1_7/extensions/regress-380933.js rename : js/tests/js1_7/extensions/regress-381301.js => js/src/tests/js1_7/extensions/regress-381301.js rename : js/tests/js1_7/extensions/regress-381303.js => js/src/tests/js1_7/extensions/regress-381303.js rename : js/tests/js1_7/extensions/regress-387955-01.js => js/src/tests/js1_7/extensions/regress-387955-01.js rename : js/tests/js1_7/extensions/regress-387955-02.js => js/src/tests/js1_7/extensions/regress-387955-02.js rename : js/tests/js1_7/extensions/regress-392308.js => js/src/tests/js1_7/extensions/regress-392308.js rename : js/tests/js1_7/extensions/regress-396326.js => js/src/tests/js1_7/extensions/regress-396326.js rename : js/tests/js1_7/extensions/regress-429266.js => js/src/tests/js1_7/extensions/regress-429266.js rename : js/tests/js1_7/extensions/regress-453955.js => js/src/tests/js1_7/extensions/regress-453955.js rename : js/tests/js1_7/extensions/regress-455982-01.js => js/src/tests/js1_7/extensions/regress-455982-01.js rename : js/tests/js1_7/extensions/regress-455982-02.js => js/src/tests/js1_7/extensions/regress-455982-02.js rename : js/tests/js1_7/extensions/regress-458679.js => js/src/tests/js1_7/extensions/regress-458679.js rename : js/tests/js1_7/extensions/regress-469234.js => js/src/tests/js1_7/extensions/regress-469234.js rename : js/tests/js1_7/extensions/regress-470176.js => js/src/tests/js1_7/extensions/regress-470176.js rename : js/tests/js1_7/extensions/regress-470300-01.js => js/src/tests/js1_7/extensions/regress-470300-01.js rename : js/tests/js1_7/extensions/regress-470300-02.js => js/src/tests/js1_7/extensions/regress-470300-02.js rename : js/tests/js1_7/extensions/regress-474771-01.js => js/src/tests/js1_7/extensions/regress-474771-01.js rename : js/tests/js1_7/extensions/regress-474771-02.js => js/src/tests/js1_7/extensions/regress-474771-02.js rename : js/tests/js1_7/extensions/regress-477048.js => js/src/tests/js1_7/extensions/regress-477048.js rename : js/tests/js1_7/extensions/shell.js => js/src/tests/js1_7/extensions/shell.js rename : js/tests/js1_7/geniter/326466-01.js => js/src/tests/js1_7/geniter/326466-01.js rename : js/tests/js1_7/geniter/browser.js => js/src/tests/js1_7/geniter/browser.js rename : js/tests/js1_7/geniter/builtin-Iterator-function.js => js/src/tests/js1_7/geniter/builtin-Iterator-function.js rename : js/tests/js1_7/geniter/evens.js => js/src/tests/js1_7/geniter/evens.js rename : js/tests/js1_7/geniter/fibonacci-matrix-generator.js => js/src/tests/js1_7/geniter/fibonacci-matrix-generator.js rename : js/tests/js1_7/geniter/iterator-toString.js => js/src/tests/js1_7/geniter/iterator-toString.js rename : js/tests/js1_7/geniter/message-value-passing.js => js/src/tests/js1_7/geniter/message-value-passing.js rename : js/tests/js1_7/geniter/multiple-close.js => js/src/tests/js1_7/geniter/multiple-close.js rename : js/tests/js1_7/geniter/nested-yield.js => js/src/tests/js1_7/geniter/nested-yield.js rename : js/tests/js1_7/geniter/pi-generator.js => js/src/tests/js1_7/geniter/pi-generator.js rename : js/tests/js1_7/geniter/regress-345736.js => js/src/tests/js1_7/geniter/regress-345736.js rename : js/tests/js1_7/geniter/regress-345855.js => js/src/tests/js1_7/geniter/regress-345855.js rename : js/tests/js1_7/geniter/regress-345879-01.js => js/src/tests/js1_7/geniter/regress-345879-01.js rename : js/tests/js1_7/geniter/regress-345879-02.js => js/src/tests/js1_7/geniter/regress-345879-02.js rename : js/tests/js1_7/geniter/regress-347593.js => js/src/tests/js1_7/geniter/regress-347593.js rename : js/tests/js1_7/geniter/regress-347739.js => js/src/tests/js1_7/geniter/regress-347739.js rename : js/tests/js1_7/geniter/regress-349012-01.js => js/src/tests/js1_7/geniter/regress-349012-01.js rename : js/tests/js1_7/geniter/regress-349012-02.js => js/src/tests/js1_7/geniter/regress-349012-02.js rename : js/tests/js1_7/geniter/regress-349012-03.js => js/src/tests/js1_7/geniter/regress-349012-03.js rename : js/tests/js1_7/geniter/regress-349012-04.js => js/src/tests/js1_7/geniter/regress-349012-04.js rename : js/tests/js1_7/geniter/regress-349012-05.js => js/src/tests/js1_7/geniter/regress-349012-05.js rename : js/tests/js1_7/geniter/regress-349023-01.js => js/src/tests/js1_7/geniter/regress-349023-01.js rename : js/tests/js1_7/geniter/regress-349023-02.js => js/src/tests/js1_7/geniter/regress-349023-02.js rename : js/tests/js1_7/geniter/regress-349023-03.js => js/src/tests/js1_7/geniter/regress-349023-03.js rename : js/tests/js1_7/geniter/regress-349331.js => js/src/tests/js1_7/geniter/regress-349331.js rename : js/tests/js1_7/geniter/regress-349362.js => js/src/tests/js1_7/geniter/regress-349362.js rename : js/tests/js1_7/geniter/regress-349851.js => js/src/tests/js1_7/geniter/regress-349851.js rename : js/tests/js1_7/geniter/regress-350621.js => js/src/tests/js1_7/geniter/regress-350621.js rename : js/tests/js1_7/geniter/regress-350809.js => js/src/tests/js1_7/geniter/regress-350809.js rename : js/tests/js1_7/geniter/regress-351120.js => js/src/tests/js1_7/geniter/regress-351120.js rename : js/tests/js1_7/geniter/regress-351514.js => js/src/tests/js1_7/geniter/regress-351514.js rename : js/tests/js1_7/geniter/regress-352197.js => js/src/tests/js1_7/geniter/regress-352197.js rename : js/tests/js1_7/geniter/regress-352605.js => js/src/tests/js1_7/geniter/regress-352605.js rename : js/tests/js1_7/geniter/regress-352876.js => js/src/tests/js1_7/geniter/regress-352876.js rename : js/tests/js1_7/geniter/regress-355834.js => js/src/tests/js1_7/geniter/regress-355834.js rename : js/tests/js1_7/geniter/regress-359062.js => js/src/tests/js1_7/geniter/regress-359062.js rename : js/tests/js1_7/geniter/regress-366941.js => js/src/tests/js1_7/geniter/regress-366941.js rename : js/tests/js1_7/geniter/regress-382335.js => js/src/tests/js1_7/geniter/regress-382335.js rename : js/tests/js1_7/geniter/regress-387871.js => js/src/tests/js1_7/geniter/regress-387871.js rename : js/tests/js1_7/geniter/regress-390918.js => js/src/tests/js1_7/geniter/regress-390918.js rename : js/tests/js1_7/geniter/regress-392310.js => js/src/tests/js1_7/geniter/regress-392310.js rename : js/tests/js1_7/geniter/regress-466206.js => js/src/tests/js1_7/geniter/regress-466206.js rename : js/tests/js1_7/geniter/send-no-rhs.js => js/src/tests/js1_7/geniter/send-no-rhs.js rename : js/tests/js1_7/geniter/sequential-yields.js => js/src/tests/js1_7/geniter/sequential-yields.js rename : js/tests/js1_7/geniter/shell.js => js/src/tests/js1_7/geniter/shell.js rename : js/tests/js1_7/geniter/simple-fib.js => js/src/tests/js1_7/geniter/simple-fib.js rename : js/tests/js1_7/geniter/throw-after-close.js => js/src/tests/js1_7/geniter/throw-after-close.js rename : js/tests/js1_7/geniter/throw-forever.js => js/src/tests/js1_7/geniter/throw-forever.js rename : js/tests/js1_7/geniter/unreachable-yield.js => js/src/tests/js1_7/geniter/unreachable-yield.js rename : js/tests/js1_7/geniter/yield-undefined.js => js/src/tests/js1_7/geniter/yield-undefined.js rename : js/tests/js1_7/iterable/browser.js => js/src/tests/js1_7/iterable/browser.js rename : js/tests/js1_7/iterable/regress-340526-01.js => js/src/tests/js1_7/iterable/regress-340526-01.js rename : js/tests/js1_7/iterable/regress-340526-02.js => js/src/tests/js1_7/iterable/regress-340526-02.js rename : js/tests/js1_7/iterable/regress-341496.js => js/src/tests/js1_7/iterable/regress-341496.js rename : js/tests/js1_7/iterable/regress-341499.js => js/src/tests/js1_7/iterable/regress-341499.js rename : js/tests/js1_7/iterable/regress-341510.js => js/src/tests/js1_7/iterable/regress-341510.js rename : js/tests/js1_7/iterable/regress-341815.js => js/src/tests/js1_7/iterable/regress-341815.js rename : js/tests/js1_7/iterable/regress-341821.js => js/src/tests/js1_7/iterable/regress-341821.js rename : js/tests/js1_7/iterable/regress-354750-01.js => js/src/tests/js1_7/iterable/regress-354750-01.js rename : js/tests/js1_7/iterable/regress-355025.js => js/src/tests/js1_7/iterable/regress-355025.js rename : js/tests/js1_7/iterable/regress-355075-01.js => js/src/tests/js1_7/iterable/regress-355075-01.js rename : js/tests/js1_7/iterable/regress-355075-02.js => js/src/tests/js1_7/iterable/regress-355075-02.js rename : js/tests/js1_7/iterable/regress-355090.js => js/src/tests/js1_7/iterable/regress-355090.js rename : js/tests/js1_7/iterable/regress-412467.js => js/src/tests/js1_7/iterable/regress-412467.js rename : js/tests/js1_7/iterable/regress-415922.js => js/src/tests/js1_7/iterable/regress-415922.js rename : js/tests/js1_7/iterable/shell.js => js/src/tests/js1_7/iterable/shell.js rename : js/tests/js1_7/lexical/browser.js => js/src/tests/js1_7/lexical/browser.js rename : js/tests/js1_7/lexical/regress-336376-01.js => js/src/tests/js1_7/lexical/regress-336376-01.js rename : js/tests/js1_7/lexical/regress-346642-03.js => js/src/tests/js1_7/lexical/regress-346642-03.js rename : js/tests/js1_7/lexical/regress-346642-04.js => js/src/tests/js1_7/lexical/regress-346642-04.js rename : js/tests/js1_7/lexical/regress-351515.js => js/src/tests/js1_7/lexical/regress-351515.js rename : js/tests/js1_7/lexical/shell.js => js/src/tests/js1_7/lexical/shell.js rename : js/tests/js1_7/regexp/browser.js => js/src/tests/js1_7/regexp/browser.js rename : js/tests/js1_7/regexp/shell.js => js/src/tests/js1_7/regexp/shell.js rename : js/tests/js1_7/regexp/yflag.js => js/src/tests/js1_7/regexp/yflag.js rename : js/tests/js1_7/regress/browser.js => js/src/tests/js1_7/regress/browser.js rename : js/tests/js1_7/regress/regress-350387.js => js/src/tests/js1_7/regress/regress-350387.js rename : js/tests/js1_7/regress/regress-351503-01.js => js/src/tests/js1_7/regress/regress-351503-01.js rename : js/tests/js1_7/regress/regress-351503-02.js => js/src/tests/js1_7/regress/regress-351503-02.js rename : js/tests/js1_7/regress/regress-352640-01.js => js/src/tests/js1_7/regress/regress-352640-01.js rename : js/tests/js1_7/regress/regress-352640-02.js => js/src/tests/js1_7/regress/regress-352640-02.js rename : js/tests/js1_7/regress/regress-352640-03.js => js/src/tests/js1_7/regress/regress-352640-03.js rename : js/tests/js1_7/regress/regress-352640-04.js => js/src/tests/js1_7/regress/regress-352640-04.js rename : js/tests/js1_7/regress/regress-352797-02.js => js/src/tests/js1_7/regress/regress-352797-02.js rename : js/tests/js1_7/regress/regress-352870-01.js => js/src/tests/js1_7/regress/regress-352870-01.js rename : js/tests/js1_7/regress/regress-352870-02.js => js/src/tests/js1_7/regress/regress-352870-02.js rename : js/tests/js1_7/regress/regress-352870-03.js => js/src/tests/js1_7/regress/regress-352870-03.js rename : js/tests/js1_7/regress/regress-353079.js => js/src/tests/js1_7/regress/regress-353079.js rename : js/tests/js1_7/regress/regress-355023.js => js/src/tests/js1_7/regress/regress-355023.js rename : js/tests/js1_7/regress/regress-355832-01.js => js/src/tests/js1_7/regress/regress-355832-01.js rename : js/tests/js1_7/regress/regress-355832-02.js => js/src/tests/js1_7/regress/regress-355832-02.js rename : js/tests/js1_7/regress/regress-361566.js => js/src/tests/js1_7/regress/regress-361566.js rename : js/tests/js1_7/regress/regress-363040-01.js => js/src/tests/js1_7/regress/regress-363040-01.js rename : js/tests/js1_7/regress/regress-363040-02.js => js/src/tests/js1_7/regress/regress-363040-02.js rename : js/tests/js1_7/regress/regress-369666-01.js => js/src/tests/js1_7/regress/regress-369666-01.js rename : js/tests/js1_7/regress/regress-369666-02.js => js/src/tests/js1_7/regress/regress-369666-02.js rename : js/tests/js1_7/regress/regress-372331.js => js/src/tests/js1_7/regress/regress-372331.js rename : js/tests/js1_7/regress/regress-373827-01.js => js/src/tests/js1_7/regress/regress-373827-01.js rename : js/tests/js1_7/regress/regress-373827-02.js => js/src/tests/js1_7/regress/regress-373827-02.js rename : js/tests/js1_7/regress/regress-373828.js => js/src/tests/js1_7/regress/regress-373828.js rename : js/tests/js1_7/regress/regress-375695.js => js/src/tests/js1_7/regress/regress-375695.js rename : js/tests/js1_7/regress/regress-379442.js => js/src/tests/js1_7/regress/regress-379442.js rename : js/tests/js1_7/regress/regress-379483.js => js/src/tests/js1_7/regress/regress-379483.js rename : js/tests/js1_7/regress/regress-385133-01.js => js/src/tests/js1_7/regress/regress-385133-01.js rename : js/tests/js1_7/regress/regress-385133-02.js => js/src/tests/js1_7/regress/regress-385133-02.js rename : js/tests/js1_7/regress/regress-385393-05.js => js/src/tests/js1_7/regress/regress-385393-05.js rename : js/tests/js1_7/regress/regress-387951.js => js/src/tests/js1_7/regress/regress-387951.js rename : js/tests/js1_7/regress/regress-406477.js => js/src/tests/js1_7/regress/regress-406477.js rename : js/tests/js1_7/regress/regress-407727-01.js => js/src/tests/js1_7/regress/regress-407727-01.js rename : js/tests/js1_7/regress/regress-407727-02.js => js/src/tests/js1_7/regress/regress-407727-02.js rename : js/tests/js1_7/regress/regress-407957.js => js/src/tests/js1_7/regress/regress-407957.js rename : js/tests/js1_7/regress/regress-410649.js => js/src/tests/js1_7/regress/regress-410649.js rename : js/tests/js1_7/regress/regress-414553.js => js/src/tests/js1_7/regress/regress-414553.js rename : js/tests/js1_7/regress/regress-416601.js => js/src/tests/js1_7/regress/regress-416601.js rename : js/tests/js1_7/regress/regress-416705.js => js/src/tests/js1_7/regress/regress-416705.js rename : js/tests/js1_7/regress/regress-418641.js => js/src/tests/js1_7/regress/regress-418641.js rename : js/tests/js1_7/regress/regress-419803.js => js/src/tests/js1_7/regress/regress-419803.js rename : js/tests/js1_7/regress/regress-420399.js => js/src/tests/js1_7/regress/regress-420399.js rename : js/tests/js1_7/regress/regress-428706.js => js/src/tests/js1_7/regress/regress-428706.js rename : js/tests/js1_7/regress/regress-428708.js => js/src/tests/js1_7/regress/regress-428708.js rename : js/tests/js1_7/regress/regress-452703.js => js/src/tests/js1_7/regress/regress-452703.js rename : js/tests/js1_7/regress/regress-452960.js => js/src/tests/js1_7/regress/regress-452960.js rename : js/tests/js1_7/regress/regress-453049.js => js/src/tests/js1_7/regress/regress-453049.js rename : js/tests/js1_7/regress/regress-453051.js => js/src/tests/js1_7/regress/regress-453051.js rename : js/tests/js1_7/regress/regress-453411.js => js/src/tests/js1_7/regress/regress-453411.js rename : js/tests/js1_7/regress/regress-461235.js => js/src/tests/js1_7/regress/regress-461235.js rename : js/tests/js1_7/regress/regress-461945.js => js/src/tests/js1_7/regress/regress-461945.js rename : js/tests/js1_7/regress/regress-462071.js => js/src/tests/js1_7/regress/regress-462071.js rename : js/tests/js1_7/regress/regress-462282.js => js/src/tests/js1_7/regress/regress-462282.js rename : js/tests/js1_7/regress/regress-462388.js => js/src/tests/js1_7/regress/regress-462388.js rename : js/tests/js1_7/regress/regress-462407.js => js/src/tests/js1_7/regress/regress-462407.js rename : js/tests/js1_7/regress/regress-464403.js => js/src/tests/js1_7/regress/regress-464403.js rename : js/tests/js1_7/regress/regress-465236.js => js/src/tests/js1_7/regress/regress-465236.js rename : js/tests/js1_7/regress/regress-465424.js => js/src/tests/js1_7/regress/regress-465424.js rename : js/tests/js1_7/regress/regress-465484.js => js/src/tests/js1_7/regress/regress-465484.js rename : js/tests/js1_7/regress/regress-469239-01.js => js/src/tests/js1_7/regress/regress-469239-01.js rename : js/tests/js1_7/regress/regress-469239-02.js => js/src/tests/js1_7/regress/regress-469239-02.js rename : js/tests/js1_7/regress/regress-470223.js => js/src/tests/js1_7/regress/regress-470223.js rename : js/tests/js1_7/regress/regress-470388-01.js => js/src/tests/js1_7/regress/regress-470388-01.js rename : js/tests/js1_7/regress/regress-470388-02.js => js/src/tests/js1_7/regress/regress-470388-02.js rename : js/tests/js1_7/regress/regress-470388-03.js => js/src/tests/js1_7/regress/regress-470388-03.js rename : js/tests/js1_7/regress/regress-474771.js => js/src/tests/js1_7/regress/regress-474771.js rename : js/tests/js1_7/regress/shell.js => js/src/tests/js1_7/regress/shell.js rename : js/tests/js1_7/shell.js => js/src/tests/js1_7/shell.js rename : js/tests/js1_7/template.js => js/src/tests/js1_7/template.js rename : js/tests/js1_8/README => js/src/tests/js1_8/README rename : js/tests/js1_8/browser.js => js/src/tests/js1_8/browser.js rename : js/tests/js1_8/decompilation/browser.js => js/src/tests/js1_8/decompilation/browser.js rename : js/tests/js1_8/decompilation/regress-260106.js => js/src/tests/js1_8/decompilation/regress-260106.js rename : js/tests/js1_8/decompilation/regress-346749.js => js/src/tests/js1_8/decompilation/regress-346749.js rename : js/tests/js1_8/decompilation/regress-381372.js => js/src/tests/js1_8/decompilation/regress-381372.js rename : js/tests/js1_8/decompilation/regress-381504.js => js/src/tests/js1_8/decompilation/regress-381504.js rename : js/tests/js1_8/decompilation/regress-381963-01.js => js/src/tests/js1_8/decompilation/regress-381963-01.js rename : js/tests/js1_8/decompilation/regress-381963-02.js => js/src/tests/js1_8/decompilation/regress-381963-02.js rename : js/tests/js1_8/decompilation/regress-382981.js => js/src/tests/js1_8/decompilation/regress-382981.js rename : js/tests/js1_8/decompilation/regress-443074.js => js/src/tests/js1_8/decompilation/regress-443074.js rename : js/tests/js1_8/decompilation/regress-460504.js => js/src/tests/js1_8/decompilation/regress-460504.js rename : js/tests/js1_8/decompilation/regress-461233.js => js/src/tests/js1_8/decompilation/regress-461233.js rename : js/tests/js1_8/decompilation/regress-469625-01.js => js/src/tests/js1_8/decompilation/regress-469625-01.js rename : js/tests/js1_8/decompilation/shell.js => js/src/tests/js1_8/decompilation/shell.js rename : js/tests/js1_8/extensions/browser.js => js/src/tests/js1_8/extensions/browser.js rename : js/tests/js1_8/extensions/dekker.js => js/src/tests/js1_8/extensions/dekker.js rename : js/tests/js1_8/extensions/for-in.js => js/src/tests/js1_8/extensions/for-in.js rename : js/tests/js1_8/extensions/lamport.js => js/src/tests/js1_8/extensions/lamport.js rename : js/tests/js1_8/extensions/peterson.js => js/src/tests/js1_8/extensions/peterson.js rename : js/tests/js1_8/extensions/regress-353116.js => js/src/tests/js1_8/extensions/regress-353116.js rename : js/tests/js1_8/extensions/regress-378789.js => js/src/tests/js1_8/extensions/regress-378789.js rename : js/tests/js1_8/extensions/regress-385393-01.js => js/src/tests/js1_8/extensions/regress-385393-01.js rename : js/tests/js1_8/extensions/regress-385393-10.js => js/src/tests/js1_8/extensions/regress-385393-10.js rename : js/tests/js1_8/extensions/regress-385393-11.js => js/src/tests/js1_8/extensions/regress-385393-11.js rename : js/tests/js1_8/extensions/regress-385729.js => js/src/tests/js1_8/extensions/regress-385729.js rename : js/tests/js1_8/extensions/regress-394709.js => js/src/tests/js1_8/extensions/regress-394709.js rename : js/tests/js1_8/extensions/regress-415721.js => js/src/tests/js1_8/extensions/regress-415721.js rename : js/tests/js1_8/extensions/regress-417131.js => js/src/tests/js1_8/extensions/regress-417131.js rename : js/tests/js1_8/extensions/regress-417817.js => js/src/tests/js1_8/extensions/regress-417817.js rename : js/tests/js1_8/extensions/regress-419091.js => js/src/tests/js1_8/extensions/regress-419091.js rename : js/tests/js1_8/extensions/regress-422269.js => js/src/tests/js1_8/extensions/regress-422269.js rename : js/tests/js1_8/extensions/regress-445818.js => js/src/tests/js1_8/extensions/regress-445818.js rename : js/tests/js1_8/extensions/regress-446169-01.js => js/src/tests/js1_8/extensions/regress-446169-01.js rename : js/tests/js1_8/extensions/regress-446169-02.js => js/src/tests/js1_8/extensions/regress-446169-02.js rename : js/tests/js1_8/extensions/regress-452476.js => js/src/tests/js1_8/extensions/regress-452476.js rename : js/tests/js1_8/extensions/regress-452913.js => js/src/tests/js1_8/extensions/regress-452913.js rename : js/tests/js1_8/extensions/regress-454744.js => js/src/tests/js1_8/extensions/regress-454744.js rename : js/tests/js1_8/extensions/regress-455973.js => js/src/tests/js1_8/extensions/regress-455973.js rename : js/tests/js1_8/extensions/regress-465337.js => js/src/tests/js1_8/extensions/regress-465337.js rename : js/tests/js1_8/extensions/regress-465453.js => js/src/tests/js1_8/extensions/regress-465453.js rename : js/tests/js1_8/extensions/regress-469625.js => js/src/tests/js1_8/extensions/regress-469625.js rename : js/tests/js1_8/extensions/regress-471197.js => js/src/tests/js1_8/extensions/regress-471197.js rename : js/tests/js1_8/extensions/regress-472450-03.js => js/src/tests/js1_8/extensions/regress-472450-03.js rename : js/tests/js1_8/extensions/regress-472450-04.js => js/src/tests/js1_8/extensions/regress-472450-04.js rename : js/tests/js1_8/extensions/regress-473040.js => js/src/tests/js1_8/extensions/regress-473040.js rename : js/tests/js1_8/extensions/regress-475971.js => js/src/tests/js1_8/extensions/regress-475971.js rename : js/tests/js1_8/extensions/regress-476414-01.js => js/src/tests/js1_8/extensions/regress-476414-01.js rename : js/tests/js1_8/extensions/regress-476414-02.js => js/src/tests/js1_8/extensions/regress-476414-02.js rename : js/tests/js1_8/extensions/regress-476427.js => js/src/tests/js1_8/extensions/regress-476427.js rename : js/tests/js1_8/extensions/regress-476869.js => js/src/tests/js1_8/extensions/regress-476869.js rename : js/tests/js1_8/extensions/regress-479252.js => js/src/tests/js1_8/extensions/regress-479252.js rename : js/tests/js1_8/extensions/regress-479381.js => js/src/tests/js1_8/extensions/regress-479381.js rename : js/tests/js1_8/extensions/regress-481989.js => js/src/tests/js1_8/extensions/regress-481989.js rename : js/tests/js1_8/extensions/regress-482263.js => js/src/tests/js1_8/extensions/regress-482263.js rename : js/tests/js1_8/extensions/shell.js => js/src/tests/js1_8/extensions/shell.js rename : js/tests/js1_8/extensions/simple-tree.js => js/src/tests/js1_8/extensions/simple-tree.js rename : js/tests/js1_8/genexps/browser.js => js/src/tests/js1_8/genexps/browser.js rename : js/tests/js1_8/genexps/regress-347739.js => js/src/tests/js1_8/genexps/regress-347739.js rename : js/tests/js1_8/genexps/regress-349012-01.js => js/src/tests/js1_8/genexps/regress-349012-01.js rename : js/tests/js1_8/genexps/regress-349326.js => js/src/tests/js1_8/genexps/regress-349326.js rename : js/tests/js1_8/genexps/regress-349331.js => js/src/tests/js1_8/genexps/regress-349331.js rename : js/tests/js1_8/genexps/regress-380237-01.js => js/src/tests/js1_8/genexps/regress-380237-01.js rename : js/tests/js1_8/genexps/regress-380237-02.js => js/src/tests/js1_8/genexps/regress-380237-02.js rename : js/tests/js1_8/genexps/regress-380237-03.js => js/src/tests/js1_8/genexps/regress-380237-03.js rename : js/tests/js1_8/genexps/regress-380237-04.js => js/src/tests/js1_8/genexps/regress-380237-04.js rename : js/tests/js1_8/genexps/regress-384991.js => js/src/tests/js1_8/genexps/regress-384991.js rename : js/tests/js1_8/genexps/shell.js => js/src/tests/js1_8/genexps/shell.js rename : js/tests/js1_8/regress/browser.js => js/src/tests/js1_8/regress/browser.js rename : js/tests/js1_8/regress/regress-366941.js => js/src/tests/js1_8/regress/regress-366941.js rename : js/tests/js1_8/regress/regress-384412.js => js/src/tests/js1_8/regress/regress-384412.js rename : js/tests/js1_8/regress/regress-384758.js => js/src/tests/js1_8/regress/regress-384758.js rename : js/tests/js1_8/regress/regress-404734.js => js/src/tests/js1_8/regress/regress-404734.js rename : js/tests/js1_8/regress/regress-427798.js => js/src/tests/js1_8/regress/regress-427798.js rename : js/tests/js1_8/regress/regress-433279-01.js => js/src/tests/js1_8/regress/regress-433279-01.js rename : js/tests/js1_8/regress/regress-433279-02.js => js/src/tests/js1_8/regress/regress-433279-02.js rename : js/tests/js1_8/regress/regress-433279-03.js => js/src/tests/js1_8/regress/regress-433279-03.js rename : js/tests/js1_8/regress/regress-442333-01.js => js/src/tests/js1_8/regress/regress-442333-01.js rename : js/tests/js1_8/regress/regress-452491.js => js/src/tests/js1_8/regress/regress-452491.js rename : js/tests/js1_8/regress/regress-453492.js => js/src/tests/js1_8/regress/regress-453492.js rename : js/tests/js1_8/regress/regress-455981-01.js => js/src/tests/js1_8/regress/regress-455981-01.js rename : js/tests/js1_8/regress/regress-455981-02.js => js/src/tests/js1_8/regress/regress-455981-02.js rename : js/tests/js1_8/regress/regress-457065-01.js => js/src/tests/js1_8/regress/regress-457065-01.js rename : js/tests/js1_8/regress/regress-457065-02.js => js/src/tests/js1_8/regress/regress-457065-02.js rename : js/tests/js1_8/regress/regress-458076.js => js/src/tests/js1_8/regress/regress-458076.js rename : js/tests/js1_8/regress/regress-459185.js => js/src/tests/js1_8/regress/regress-459185.js rename : js/tests/js1_8/regress/regress-459186.js => js/src/tests/js1_8/regress/regress-459186.js rename : js/tests/js1_8/regress/regress-459389.js => js/src/tests/js1_8/regress/regress-459389.js rename : js/tests/js1_8/regress/regress-461930.js => js/src/tests/js1_8/regress/regress-461930.js rename : js/tests/js1_8/regress/regress-461932.js => js/src/tests/js1_8/regress/regress-461932.js rename : js/tests/js1_8/regress/regress-463334-01.js => js/src/tests/js1_8/regress/regress-463334-01.js rename : js/tests/js1_8/regress/regress-463334-02.js => js/src/tests/js1_8/regress/regress-463334-02.js rename : js/tests/js1_8/regress/regress-463783.js => js/src/tests/js1_8/regress/regress-463783.js rename : js/tests/js1_8/regress/regress-464092-01.js => js/src/tests/js1_8/regress/regress-464092-01.js rename : js/tests/js1_8/regress/regress-464092-02.js => js/src/tests/js1_8/regress/regress-464092-02.js rename : js/tests/js1_8/regress/regress-464096.js => js/src/tests/js1_8/regress/regress-464096.js rename : js/tests/js1_8/regress/regress-464418.js => js/src/tests/js1_8/regress/regress-464418.js rename : js/tests/js1_8/regress/regress-464978.js => js/src/tests/js1_8/regress/regress-464978.js rename : js/tests/js1_8/regress/regress-465220.js => js/src/tests/js1_8/regress/regress-465220.js rename : js/tests/js1_8/regress/regress-465234.js => js/src/tests/js1_8/regress/regress-465234.js rename : js/tests/js1_8/regress/regress-465239.js => js/src/tests/js1_8/regress/regress-465239.js rename : js/tests/js1_8/regress/regress-465241.js => js/src/tests/js1_8/regress/regress-465241.js rename : js/tests/js1_8/regress/regress-465249.js => js/src/tests/js1_8/regress/regress-465249.js rename : js/tests/js1_8/regress/regress-465261.js => js/src/tests/js1_8/regress/regress-465261.js rename : js/tests/js1_8/regress/regress-465308.js => js/src/tests/js1_8/regress/regress-465308.js rename : js/tests/js1_8/regress/regress-465454.js => js/src/tests/js1_8/regress/regress-465454.js rename : js/tests/js1_8/regress/regress-465460-01.js => js/src/tests/js1_8/regress/regress-465460-01.js rename : js/tests/js1_8/regress/regress-465460-02.js => js/src/tests/js1_8/regress/regress-465460-02.js rename : js/tests/js1_8/regress/regress-465460-03.js => js/src/tests/js1_8/regress/regress-465460-03.js rename : js/tests/js1_8/regress/regress-465460-04.js => js/src/tests/js1_8/regress/regress-465460-04.js rename : js/tests/js1_8/regress/regress-465460-05.js => js/src/tests/js1_8/regress/regress-465460-05.js rename : js/tests/js1_8/regress/regress-465460-06.js => js/src/tests/js1_8/regress/regress-465460-06.js rename : js/tests/js1_8/regress/regress-465460-07.js => js/src/tests/js1_8/regress/regress-465460-07.js rename : js/tests/js1_8/regress/regress-465460-08.js => js/src/tests/js1_8/regress/regress-465460-08.js rename : js/tests/js1_8/regress/regress-465460-09.js => js/src/tests/js1_8/regress/regress-465460-09.js rename : js/tests/js1_8/regress/regress-465460-10.js => js/src/tests/js1_8/regress/regress-465460-10.js rename : js/tests/js1_8/regress/regress-465460-11.js => js/src/tests/js1_8/regress/regress-465460-11.js rename : js/tests/js1_8/regress/regress-465460-12.js => js/src/tests/js1_8/regress/regress-465460-12.js rename : js/tests/js1_8/regress/regress-465483.js => js/src/tests/js1_8/regress/regress-465483.js rename : js/tests/js1_8/regress/regress-465567-01.js => js/src/tests/js1_8/regress/regress-465567-01.js rename : js/tests/js1_8/regress/regress-465567-02.js => js/src/tests/js1_8/regress/regress-465567-02.js rename : js/tests/js1_8/regress/regress-465688.js => js/src/tests/js1_8/regress/regress-465688.js rename : js/tests/js1_8/regress/regress-466128.js => js/src/tests/js1_8/regress/regress-466128.js rename : js/tests/js1_8/regress/regress-466787.js => js/src/tests/js1_8/regress/regress-466787.js rename : js/tests/js1_8/regress/regress-467495-01.js => js/src/tests/js1_8/regress/regress-467495-01.js rename : js/tests/js1_8/regress/regress-467495-02.js => js/src/tests/js1_8/regress/regress-467495-02.js rename : js/tests/js1_8/regress/regress-467495-03.js => js/src/tests/js1_8/regress/regress-467495-03.js rename : js/tests/js1_8/regress/regress-467495-04.js => js/src/tests/js1_8/regress/regress-467495-04.js rename : js/tests/js1_8/regress/regress-467495-05.js => js/src/tests/js1_8/regress/regress-467495-05.js rename : js/tests/js1_8/regress/regress-467495-06.js => js/src/tests/js1_8/regress/regress-467495-06.js rename : js/tests/js1_8/regress/regress-468711.js => js/src/tests/js1_8/regress/regress-468711.js rename : js/tests/js1_8/regress/regress-469625-02.js => js/src/tests/js1_8/regress/regress-469625-02.js rename : js/tests/js1_8/regress/regress-469625-03.js => js/src/tests/js1_8/regress/regress-469625-03.js rename : js/tests/js1_8/regress/regress-471373.js => js/src/tests/js1_8/regress/regress-471373.js rename : js/tests/js1_8/regress/regress-471660.js => js/src/tests/js1_8/regress/regress-471660.js rename : js/tests/js1_8/regress/regress-472450-01.js => js/src/tests/js1_8/regress/regress-472450-01.js rename : js/tests/js1_8/regress/regress-472450-02.js => js/src/tests/js1_8/regress/regress-472450-02.js rename : js/tests/js1_8/regress/regress-472528-01.js => js/src/tests/js1_8/regress/regress-472528-01.js rename : js/tests/js1_8/regress/regress-472528-02.js => js/src/tests/js1_8/regress/regress-472528-02.js rename : js/tests/js1_8/regress/regress-472703.js => js/src/tests/js1_8/regress/regress-472703.js rename : js/tests/js1_8/regress/regress-474769.js => js/src/tests/js1_8/regress/regress-474769.js rename : js/tests/js1_8/regress/regress-474771.js => js/src/tests/js1_8/regress/regress-474771.js rename : js/tests/js1_8/regress/regress-474935.js => js/src/tests/js1_8/regress/regress-474935.js rename : js/tests/js1_8/regress/regress-476655.js => js/src/tests/js1_8/regress/regress-476655.js rename : js/tests/js1_8/regress/regress-477234.js => js/src/tests/js1_8/regress/regress-477234.js rename : js/tests/js1_8/regress/regress-477581.js => js/src/tests/js1_8/regress/regress-477581.js rename : js/tests/js1_8/regress/regress-478205.js => js/src/tests/js1_8/regress/regress-478205.js rename : js/tests/js1_8/regress/regress-479353.js => js/src/tests/js1_8/regress/regress-479353.js rename : js/tests/js1_8/regress/regress-479740.js => js/src/tests/js1_8/regress/regress-479740.js rename : js/tests/js1_8/regress/regress-481800.js => js/src/tests/js1_8/regress/regress-481800.js rename : js/tests/js1_8/regress/regress-483749.js => js/src/tests/js1_8/regress/regress-483749.js rename : js/tests/js1_8/regress/shell.js => js/src/tests/js1_8/regress/shell.js rename : js/tests/js1_8/shell.js => js/src/tests/js1_8/shell.js rename : js/tests/js1_8/template.js => js/src/tests/js1_8/template.js rename : js/tests/js1_8_1/JSON/browser.js => js/src/tests/js1_8_1/JSON/browser.js rename : js/tests/js1_8_1/JSON/regress-458959.js => js/src/tests/js1_8_1/JSON/regress-458959.js rename : js/tests/js1_8_1/JSON/regress-459293.js => js/src/tests/js1_8_1/JSON/regress-459293.js rename : js/tests/js1_8_1/JSON/shell.js => js/src/tests/js1_8_1/JSON/shell.js rename : js/tests/js1_8_1/README => js/src/tests/js1_8_1/README rename : js/tests/js1_8_1/String/browser.js => js/src/tests/js1_8_1/String/browser.js rename : js/tests/js1_8_1/String/regress-305064.js => js/src/tests/js1_8_1/String/regress-305064.js rename : js/tests/js1_8_1/String/shell.js => js/src/tests/js1_8_1/String/shell.js rename : js/tests/js1_8_1/browser.js => js/src/tests/js1_8_1/browser.js rename : js/tests/js1_8_1/decompilation/browser.js => js/src/tests/js1_8_1/decompilation/browser.js rename : js/tests/js1_8_1/decompilation/regress-346642-01.js => js/src/tests/js1_8_1/decompilation/regress-346642-01.js rename : js/tests/js1_8_1/decompilation/regress-349605.js => js/src/tests/js1_8_1/decompilation/regress-349605.js rename : js/tests/js1_8_1/decompilation/regress-349634.js => js/src/tests/js1_8_1/decompilation/regress-349634.js rename : js/tests/js1_8_1/decompilation/regress-350991.js => js/src/tests/js1_8_1/decompilation/regress-350991.js rename : js/tests/js1_8_1/decompilation/regress-351070-01.js => js/src/tests/js1_8_1/decompilation/regress-351070-01.js rename : js/tests/js1_8_1/decompilation/regress-351336.js => js/src/tests/js1_8_1/decompilation/regress-351336.js rename : js/tests/js1_8_1/decompilation/regress-351626.js => js/src/tests/js1_8_1/decompilation/regress-351626.js rename : js/tests/js1_8_1/decompilation/regress-352011.js => js/src/tests/js1_8_1/decompilation/regress-352011.js rename : js/tests/js1_8_1/decompilation/regress-352022.js => js/src/tests/js1_8_1/decompilation/regress-352022.js rename : js/tests/js1_8_1/decompilation/regress-352026.js => js/src/tests/js1_8_1/decompilation/regress-352026.js rename : js/tests/js1_8_1/decompilation/regress-352609.js => js/src/tests/js1_8_1/decompilation/regress-352609.js rename : js/tests/js1_8_1/decompilation/regress-353249.js => js/src/tests/js1_8_1/decompilation/regress-353249.js rename : js/tests/js1_8_1/decompilation/regress-354878.js => js/src/tests/js1_8_1/decompilation/regress-354878.js rename : js/tests/js1_8_1/decompilation/regress-371802.js => js/src/tests/js1_8_1/decompilation/regress-371802.js rename : js/tests/js1_8_1/decompilation/regress-373678-01.js => js/src/tests/js1_8_1/decompilation/regress-373678-01.js rename : js/tests/js1_8_1/decompilation/regress-380237-03.js => js/src/tests/js1_8_1/decompilation/regress-380237-03.js rename : js/tests/js1_8_1/decompilation/regress-380237-04.js => js/src/tests/js1_8_1/decompilation/regress-380237-04.js rename : js/tests/js1_8_1/decompilation/regress-443074.js => js/src/tests/js1_8_1/decompilation/regress-443074.js rename : js/tests/js1_8_1/decompilation/regress-466905-03.js => js/src/tests/js1_8_1/decompilation/regress-466905-03.js rename : js/tests/js1_8_1/decompilation/shell.js => js/src/tests/js1_8_1/decompilation/shell.js rename : js/tests/js1_8_1/extensions/regress-352281.js => js/src/tests/js1_8_1/extensions/regress-352281.js rename : js/tests/js1_8_1/extensions/regress-353214-02.js => js/src/tests/js1_8_1/extensions/regress-353214-02.js rename : js/tests/js1_8_1/extensions/regress-437288-01.js => js/src/tests/js1_8_1/extensions/regress-437288-01.js rename : js/tests/js1_8_1/extensions/regress-452498-162.js => js/src/tests/js1_8_1/extensions/regress-452498-162.js rename : js/tests/js1_8_1/extensions/regress-452498-193.js => js/src/tests/js1_8_1/extensions/regress-452498-193.js rename : js/tests/js1_8_1/extensions/regress-452498-196.js => js/src/tests/js1_8_1/extensions/regress-452498-196.js rename : js/tests/js1_8_1/extensions/regress-452498-224.js => js/src/tests/js1_8_1/extensions/regress-452498-224.js rename : js/tests/js1_8_1/extensions/regress-466905-04.js => js/src/tests/js1_8_1/extensions/regress-466905-04.js rename : js/tests/js1_8_1/extensions/regress-466905-05.js => js/src/tests/js1_8_1/extensions/regress-466905-05.js rename : js/tests/js1_8_1/extensions/regress-477158.js => js/src/tests/js1_8_1/extensions/regress-477158.js rename : js/tests/js1_8_1/extensions/regress-477187.js => js/src/tests/js1_8_1/extensions/regress-477187.js rename : js/tests/js1_8_1/extensions/shell.js => js/src/tests/js1_8_1/extensions/shell.js rename : js/tests/js1_8_1/extensions/strict-warning.js => js/src/tests/js1_8_1/extensions/strict-warning.js rename : js/tests/js1_8_1/regress/browser.js => js/src/tests/js1_8_1/regress/browser.js rename : js/tests/js1_8_1/regress/regress-420399.js => js/src/tests/js1_8_1/regress/regress-420399.js rename : js/tests/js1_8_1/regress/regress-452498-006.js => js/src/tests/js1_8_1/regress/regress-452498-006.js rename : js/tests/js1_8_1/regress/regress-452498-027.js => js/src/tests/js1_8_1/regress/regress-452498-027.js rename : js/tests/js1_8_1/regress/regress-452498-030.js => js/src/tests/js1_8_1/regress/regress-452498-030.js rename : js/tests/js1_8_1/regress/regress-452498-038.js => js/src/tests/js1_8_1/regress/regress-452498-038.js rename : js/tests/js1_8_1/regress/regress-452498-039.js => js/src/tests/js1_8_1/regress/regress-452498-039.js rename : js/tests/js1_8_1/regress/regress-452498-040.js => js/src/tests/js1_8_1/regress/regress-452498-040.js rename : js/tests/js1_8_1/regress/regress-452498-050.js => js/src/tests/js1_8_1/regress/regress-452498-050.js rename : js/tests/js1_8_1/regress/regress-452498-051.js => js/src/tests/js1_8_1/regress/regress-452498-051.js rename : js/tests/js1_8_1/regress/regress-452498-052-a.js => js/src/tests/js1_8_1/regress/regress-452498-052-a.js rename : js/tests/js1_8_1/regress/regress-452498-052.js => js/src/tests/js1_8_1/regress/regress-452498-052.js rename : js/tests/js1_8_1/regress/regress-452498-053.js => js/src/tests/js1_8_1/regress/regress-452498-053.js rename : js/tests/js1_8_1/regress/regress-452498-054.js => js/src/tests/js1_8_1/regress/regress-452498-054.js rename : js/tests/js1_8_1/regress/regress-452498-058.js => js/src/tests/js1_8_1/regress/regress-452498-058.js rename : js/tests/js1_8_1/regress/regress-452498-062.js => js/src/tests/js1_8_1/regress/regress-452498-062.js rename : js/tests/js1_8_1/regress/regress-452498-063.js => js/src/tests/js1_8_1/regress/regress-452498-063.js rename : js/tests/js1_8_1/regress/regress-452498-068.js => js/src/tests/js1_8_1/regress/regress-452498-068.js rename : js/tests/js1_8_1/regress/regress-452498-071.js => js/src/tests/js1_8_1/regress/regress-452498-071.js rename : js/tests/js1_8_1/regress/regress-452498-072.js => js/src/tests/js1_8_1/regress/regress-452498-072.js rename : js/tests/js1_8_1/regress/regress-452498-073.js => js/src/tests/js1_8_1/regress/regress-452498-073.js rename : js/tests/js1_8_1/regress/regress-452498-074.js => js/src/tests/js1_8_1/regress/regress-452498-074.js rename : js/tests/js1_8_1/regress/regress-452498-075.js => js/src/tests/js1_8_1/regress/regress-452498-075.js rename : js/tests/js1_8_1/regress/regress-452498-076.js => js/src/tests/js1_8_1/regress/regress-452498-076.js rename : js/tests/js1_8_1/regress/regress-452498-077.js => js/src/tests/js1_8_1/regress/regress-452498-077.js rename : js/tests/js1_8_1/regress/regress-452498-079.js => js/src/tests/js1_8_1/regress/regress-452498-079.js rename : js/tests/js1_8_1/regress/regress-452498-082.js => js/src/tests/js1_8_1/regress/regress-452498-082.js rename : js/tests/js1_8_1/regress/regress-452498-091.js => js/src/tests/js1_8_1/regress/regress-452498-091.js rename : js/tests/js1_8_1/regress/regress-452498-092.js => js/src/tests/js1_8_1/regress/regress-452498-092.js rename : js/tests/js1_8_1/regress/regress-452498-098.js => js/src/tests/js1_8_1/regress/regress-452498-098.js rename : js/tests/js1_8_1/regress/regress-452498-099-a.js => js/src/tests/js1_8_1/regress/regress-452498-099-a.js rename : js/tests/js1_8_1/regress/regress-452498-099.js => js/src/tests/js1_8_1/regress/regress-452498-099.js rename : js/tests/js1_8_1/regress/regress-452498-101.js => js/src/tests/js1_8_1/regress/regress-452498-101.js rename : js/tests/js1_8_1/regress/regress-452498-102.js => js/src/tests/js1_8_1/regress/regress-452498-102.js rename : js/tests/js1_8_1/regress/regress-452498-103.js => js/src/tests/js1_8_1/regress/regress-452498-103.js rename : js/tests/js1_8_1/regress/regress-452498-104.js => js/src/tests/js1_8_1/regress/regress-452498-104.js rename : js/tests/js1_8_1/regress/regress-452498-107.js => js/src/tests/js1_8_1/regress/regress-452498-107.js rename : js/tests/js1_8_1/regress/regress-452498-108.js => js/src/tests/js1_8_1/regress/regress-452498-108.js rename : js/tests/js1_8_1/regress/regress-452498-110.js => js/src/tests/js1_8_1/regress/regress-452498-110.js rename : js/tests/js1_8_1/regress/regress-452498-111.js => js/src/tests/js1_8_1/regress/regress-452498-111.js rename : js/tests/js1_8_1/regress/regress-452498-112.js => js/src/tests/js1_8_1/regress/regress-452498-112.js rename : js/tests/js1_8_1/regress/regress-452498-114-a.js => js/src/tests/js1_8_1/regress/regress-452498-114-a.js rename : js/tests/js1_8_1/regress/regress-452498-114.js => js/src/tests/js1_8_1/regress/regress-452498-114.js rename : js/tests/js1_8_1/regress/regress-452498-116.js => js/src/tests/js1_8_1/regress/regress-452498-116.js rename : js/tests/js1_8_1/regress/regress-452498-117.js => js/src/tests/js1_8_1/regress/regress-452498-117.js rename : js/tests/js1_8_1/regress/regress-452498-118.js => js/src/tests/js1_8_1/regress/regress-452498-118.js rename : js/tests/js1_8_1/regress/regress-452498-119.js => js/src/tests/js1_8_1/regress/regress-452498-119.js rename : js/tests/js1_8_1/regress/regress-452498-121.js => js/src/tests/js1_8_1/regress/regress-452498-121.js rename : js/tests/js1_8_1/regress/regress-452498-123.js => js/src/tests/js1_8_1/regress/regress-452498-123.js rename : js/tests/js1_8_1/regress/regress-452498-129.js => js/src/tests/js1_8_1/regress/regress-452498-129.js rename : js/tests/js1_8_1/regress/regress-452498-130.js => js/src/tests/js1_8_1/regress/regress-452498-130.js rename : js/tests/js1_8_1/regress/regress-452498-131.js => js/src/tests/js1_8_1/regress/regress-452498-131.js rename : js/tests/js1_8_1/regress/regress-452498-135-a.js => js/src/tests/js1_8_1/regress/regress-452498-135-a.js rename : js/tests/js1_8_1/regress/regress-452498-135.js => js/src/tests/js1_8_1/regress/regress-452498-135.js rename : js/tests/js1_8_1/regress/regress-452498-138.js => js/src/tests/js1_8_1/regress/regress-452498-138.js rename : js/tests/js1_8_1/regress/regress-452498-139.js => js/src/tests/js1_8_1/regress/regress-452498-139.js rename : js/tests/js1_8_1/regress/regress-452498-155.js => js/src/tests/js1_8_1/regress/regress-452498-155.js rename : js/tests/js1_8_1/regress/regress-452498-160.js => js/src/tests/js1_8_1/regress/regress-452498-160.js rename : js/tests/js1_8_1/regress/regress-452498-168-1.js => js/src/tests/js1_8_1/regress/regress-452498-168-1.js rename : js/tests/js1_8_1/regress/regress-452498-168-2.js => js/src/tests/js1_8_1/regress/regress-452498-168-2.js rename : js/tests/js1_8_1/regress/regress-452498-176.js => js/src/tests/js1_8_1/regress/regress-452498-176.js rename : js/tests/js1_8_1/regress/regress-452498-178.js => js/src/tests/js1_8_1/regress/regress-452498-178.js rename : js/tests/js1_8_1/regress/regress-452498-181.js => js/src/tests/js1_8_1/regress/regress-452498-181.js rename : js/tests/js1_8_1/regress/regress-452498-184.js => js/src/tests/js1_8_1/regress/regress-452498-184.js rename : js/tests/js1_8_1/regress/regress-452498-185.js => js/src/tests/js1_8_1/regress/regress-452498-185.js rename : js/tests/js1_8_1/regress/regress-452498-187.js => js/src/tests/js1_8_1/regress/regress-452498-187.js rename : js/tests/js1_8_1/regress/regress-452498-191.js => js/src/tests/js1_8_1/regress/regress-452498-191.js rename : js/tests/js1_8_1/regress/regress-452498-192.js => js/src/tests/js1_8_1/regress/regress-452498-192.js rename : js/tests/js1_8_1/regress/regress-466905-01.js => js/src/tests/js1_8_1/regress/regress-466905-01.js rename : js/tests/js1_8_1/regress/regress-466905-02.js => js/src/tests/js1_8_1/regress/regress-466905-02.js rename : js/tests/js1_8_1/regress/regress-479430-01.js => js/src/tests/js1_8_1/regress/regress-479430-01.js rename : js/tests/js1_8_1/regress/regress-479430-02.js => js/src/tests/js1_8_1/regress/regress-479430-02.js rename : js/tests/js1_8_1/regress/regress-479430-03.js => js/src/tests/js1_8_1/regress/regress-479430-03.js rename : js/tests/js1_8_1/regress/regress-479430-04.js => js/src/tests/js1_8_1/regress/regress-479430-04.js rename : js/tests/js1_8_1/regress/regress-479430-05.js => js/src/tests/js1_8_1/regress/regress-479430-05.js rename : js/tests/js1_8_1/regress/regress-495773.js => js/src/tests/js1_8_1/regress/regress-495773.js rename : js/tests/js1_8_1/regress/regress-495907.js => js/src/tests/js1_8_1/regress/regress-495907.js rename : js/tests/js1_8_1/regress/regress-496922.js => js/src/tests/js1_8_1/regress/regress-496922.js rename : js/tests/js1_8_1/regress/regress-507053.js => js/src/tests/js1_8_1/regress/regress-507053.js rename : js/tests/js1_8_1/regress/regress-507295.js => js/src/tests/js1_8_1/regress/regress-507295.js rename : js/tests/js1_8_1/regress/regress-507424.js => js/src/tests/js1_8_1/regress/regress-507424.js rename : js/tests/js1_8_1/regress/shell.js => js/src/tests/js1_8_1/regress/shell.js rename : js/tests/js1_8_1/shell.js => js/src/tests/js1_8_1/shell.js rename : js/tests/js1_8_1/template.js => js/src/tests/js1_8_1/template.js rename : js/tests/js1_8_1/trace/browser.js => js/src/tests/js1_8_1/trace/browser.js rename : js/tests/js1_8_1/trace/math-trace-tests.js => js/src/tests/js1_8_1/trace/math-trace-tests.js rename : js/tests/js1_8_1/trace/regress-451673.js => js/src/tests/js1_8_1/trace/regress-451673.js rename : js/tests/js1_8_1/trace/regress-451974-01.js => js/src/tests/js1_8_1/trace/regress-451974-01.js rename : js/tests/js1_8_1/trace/regress-451974-02.js => js/src/tests/js1_8_1/trace/regress-451974-02.js rename : js/tests/js1_8_1/trace/regress-452498-01.js => js/src/tests/js1_8_1/trace/regress-452498-01.js rename : js/tests/js1_8_1/trace/regress-458838.js => js/src/tests/js1_8_1/trace/regress-458838.js rename : js/tests/js1_8_1/trace/regress-462459-01.js => js/src/tests/js1_8_1/trace/regress-462459-01.js rename : js/tests/js1_8_1/trace/regress-462459-02.js => js/src/tests/js1_8_1/trace/regress-462459-02.js rename : js/tests/js1_8_1/trace/regress-462459-03.js => js/src/tests/js1_8_1/trace/regress-462459-03.js rename : js/tests/js1_8_1/trace/regress-462459-04.js => js/src/tests/js1_8_1/trace/regress-462459-04.js rename : js/tests/js1_8_1/trace/regress-462459-05.js => js/src/tests/js1_8_1/trace/regress-462459-05.js rename : js/tests/js1_8_1/trace/regress-462459-06.js => js/src/tests/js1_8_1/trace/regress-462459-06.js rename : js/tests/js1_8_1/trace/regress-462459-07.js => js/src/tests/js1_8_1/trace/regress-462459-07.js rename : js/tests/js1_8_1/trace/regress-462459-08.js => js/src/tests/js1_8_1/trace/regress-462459-08.js rename : js/tests/js1_8_1/trace/regress-462459-09.js => js/src/tests/js1_8_1/trace/regress-462459-09.js rename : js/tests/js1_8_1/trace/regress-462459-10.js => js/src/tests/js1_8_1/trace/regress-462459-10.js rename : js/tests/js1_8_1/trace/regress-462459-11.js => js/src/tests/js1_8_1/trace/regress-462459-11.js rename : js/tests/js1_8_1/trace/regress-462459-12.js => js/src/tests/js1_8_1/trace/regress-462459-12.js rename : js/tests/js1_8_1/trace/regress-469927.js => js/src/tests/js1_8_1/trace/regress-469927.js rename : js/tests/js1_8_1/trace/regress-470739.js => js/src/tests/js1_8_1/trace/regress-470739.js rename : js/tests/js1_8_1/trace/regress-471635.js => js/src/tests/js1_8_1/trace/regress-471635.js rename : js/tests/js1_8_1/trace/shell.js => js/src/tests/js1_8_1/trace/shell.js rename : js/tests/js1_8_1/trace/trace-test.js => js/src/tests/js1_8_1/trace/trace-test.js rename : js/tests/jsDriver.pl => js/src/tests/jsDriver.pl rename : js/tests/known-failures.pl => js/src/tests/known-failures.pl rename : js/tests/menufoot.html => js/src/tests/menufoot.html rename : js/tests/menuhead.html => js/src/tests/menuhead.html rename : js/tests/menuhead.js => js/src/tests/menuhead.js rename : js/tests/mkhtml.pl => js/src/tests/mkhtml.pl rename : js/tests/mklistpage.pl => js/src/tests/mklistpage.pl rename : js/tests/most.tests => js/src/tests/most.tests rename : js/tests/pattern-expander.pl => js/src/tests/pattern-expander.pl rename : js/tests/pattern-extracter.pl => js/src/tests/pattern-extracter.pl rename : js/tests/performance-1.8.0.tests => js/src/tests/performance-1.8.0.tests rename : js/tests/performance-1.8.1.tests => js/src/tests/performance-1.8.1.tests rename : js/tests/performance-1.9.0.tests => js/src/tests/performance-1.9.0.tests rename : js/tests/performance-1.9.1.tests => js/src/tests/performance-1.9.1.tests rename : js/tests/performance-1.9.2.tests => js/src/tests/performance-1.9.2.tests rename : js/tests/performance.tests => js/src/tests/performance.tests rename : js/tests/post-process-logs.pl => js/src/tests/post-process-logs.pl rename : js/tests/process-logs.sh => js/src/tests/process-logs.sh rename : js/tests/remove-fixed-failures.sh => js/src/tests/remove-fixed-failures.sh rename : js/tests/runRhinoTests.pl => js/src/tests/runRhinoTests.pl rename : js/tests/runtests.pl => js/src/tests/runtests.pl rename : js/tests/runtests.sh => js/src/tests/runtests.sh rename : js/tests/runtests2.pl => js/src/tests/runtests2.pl rename : js/tests/shell.js => js/src/tests/shell.js rename : js/tests/slow-n-1.8.1-browser.tests => js/src/tests/slow-n-1.8.1-browser.tests rename : js/tests/slow-n-1.8.1.tests => js/src/tests/slow-n-1.8.1.tests rename : js/tests/slow-n-1.9.0-browser.tests => js/src/tests/slow-n-1.9.0-browser.tests rename : js/tests/slow-n-1.9.0.tests => js/src/tests/slow-n-1.9.0.tests rename : js/tests/slow-n-1.9.1-browser.tests => js/src/tests/slow-n-1.9.1-browser.tests rename : js/tests/slow-n-1.9.1.tests => js/src/tests/slow-n-1.9.1.tests rename : js/tests/slow-n-1.9.2-browser.tests => js/src/tests/slow-n-1.9.2-browser.tests rename : js/tests/slow-n-1.9.2.tests => js/src/tests/slow-n-1.9.2.tests rename : js/tests/slow-n.tests => js/src/tests/slow-n.tests rename : js/tests/spidermonkey-gc.tests => js/src/tests/spidermonkey-gc.tests rename : js/tests/spidermonkey-n-1.8.0.tests => js/src/tests/spidermonkey-n-1.8.0.tests rename : js/tests/spidermonkey-n-1.8.1.tests => js/src/tests/spidermonkey-n-1.8.1.tests rename : js/tests/spidermonkey-n-1.9.0.tests => js/src/tests/spidermonkey-n-1.9.0.tests rename : js/tests/spidermonkey-n-1.9.1.tests => js/src/tests/spidermonkey-n-1.9.1.tests rename : js/tests/spidermonkey-n-1.9.2.tests => js/src/tests/spidermonkey-n-1.9.2.tests rename : js/tests/spidermonkey-n-1.9.3.tests => js/src/tests/spidermonkey-n-1.9.3.tests rename : js/tests/spidermonkey-n.tests => js/src/tests/spidermonkey-n.tests rename : js/tests/src/jstests.jar => js/src/tests/src/jstests.jar rename : js/tests/template.js => js/src/tests/template.js rename : js/tests/test.sh => js/src/tests/test.sh rename : js/tests/userhookeach.js => js/src/tests/userhookeach.js
2009-09-26 15:54:12 -07:00
tests/Makefile
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
config/Makefile
config/autoconf.mk
config/mkdepend/Makefile
"
if test -n "$JS_NATIVE_EDITLINE"; then
MAKEFILES="$MAKEFILES
editline/Makefile
"
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
dnl
dnl Run a perl script to quickly create the makefiles.
dnl If it succeeds, it outputs a shell command to set CONFIG_FILES
dnl for the files it cannot handle correctly. This way, config.status
dnl will handle these files.
dnl If it fails, nothing is set and config.status will run as usual.
dnl
dnl This does not change the $MAKEFILES variable.
dnl
dnl OpenVMS gets a line overflow on the long eval command, so use a temp file.
dnl
if test -z "${AS_PERL}"; then
echo $MAKEFILES | ${PERL} $srcdir/build/autoconf/acoutput-fast.pl > conftest.sh
else
echo $MAKEFILES | ${PERL} $srcdir/build/autoconf/acoutput-fast.pl -nowrap --cygwin-srcdir=$srcdir > conftest.sh
fi
. ./conftest.sh
rm conftest.sh
echo $MAKEFILES > unallmakefiles
mv -f config/autoconf.mk config/autoconf.mk.orig 2> /dev/null
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
AC_OUTPUT($MAKEFILES)
dnl Prevent the regeneration of autoconf.mk forcing rebuilds of the world
if cmp -s config/autoconf.mk config/autoconf.mk.orig; then
echo "config/autoconf.mk is unchanged"
mv -f config/autoconf.mk.orig config/autoconf.mk 2> /dev/null
else
rm -f config/autoconf.mk.orig 2> /dev/null
fi
Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla. Give SpiderMonkey its own configure script and top-level Makefile. Adjust js/src/Makefile as appropriate for life as a stand-alone makefile, instead of a 'make export; make libs'-style Mozilla tier makefile. Have the configure script accept '--with-nspr-cflags' and '--with-nspr-libs' options for using an in-tree NSPR. Also accept '--with-system-nspr', '--with-nspr-prefix', and '--with-nspr-exec-prefix' flags for using an installed NSPR. Default to --disable-jemalloc, assuming we don't have that part of the tree available; have the top-level configure script pass --enable-jemalloc as needed. Since we no longer have an export phase to copy header files into dist/include/js before we build the library, we need to be able to find nanojit.h in the nanojit directory; fix references in jsbuiltins.h and jstracer.cpp. Give SpiderMonkey it its own copies of many of the files from ./config and ./build. These are all exact copies, except as follows: . js/src/config/Makefile.in: js/src only has a subset of js/src/config, and thus a subset of the makefile targets. . js/src/config/autoconf.mk.in: js/src/configure.in has its own make variables to set, not set by the top-level configure script, so it needs a custom automake.mk template. . js/src/config/make-system-wrappers.pl: a copy from nsprpub/config, so that we can build without having an NSPR source tree handy. Invoke js/src/configure from ./configure, passing the values computed for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script. Treat js/src as a static directory of the js tier, and create a new config/js (just a Makefile) to be the js tier's non-static directory. Let js/src/configure generate SpiderMonkey's makefiles, not ./configure. Generate a 'js-config' script, which clients can call to find the CFLAGS and LIBS values necessary to compile and link against an installed SpiderMonkey library. Don't include the js-config script in Macintosh packages. Teach client.mk how to rebuild js/src/configure. Tell Mercurial to ignore files generated by autoconf in js/src. Further work: . Right now, callers must define JS_THREADSAFE when #including jsapi.h. This is fixed in a subsequent patch. . js/src/configure is a trimmed copy of ./configure. It could be trimmed more. --HG-- rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4 rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4 rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4 rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4 rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper rename : build/hcc => js/src/build/hcc rename : build/hcpp => js/src/build/hcpp rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl rename : config/Makefile.in => js/src/config/Makefile.in rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in rename : config/config.mk => js/src/config/config.mk rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c rename : config/fastcwd.pl => js/src/config/fastcwd.pl rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h rename : config/insure.mk => js/src/config/insure.mk rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl rename : config/milestone.pl => js/src/config/milestone.pl rename : config/milestone.txt => js/src/config/milestone.txt rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c rename : config/nfspwd.pl => js/src/config/nfspwd.pl rename : config/nsinstall.c => js/src/config/nsinstall.c rename : config/nsinstall.py => js/src/config/nsinstall.py rename : config/pathsub.c => js/src/config/pathsub.c rename : config/pathsub.h => js/src/config/pathsub.h rename : config/preprocessor.pl => js/src/config/preprocessor.pl rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl rename : config/revdepth.pl => js/src/config/revdepth.pl rename : config/rules.mk => js/src/config/rules.mk rename : config/system-headers => js/src/config/system-headers rename : config/version.mk => js/src/config/version.mk rename : config/version_win.pl => js/src/config/version_win.pl rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
# Produce the js-config script at configure time; see the comments for
# 'js-config' in Makefile.in.
AC_MSG_RESULT(invoking make to create js-config script)
$MAKE js-config
Bug 538324 - Move ctypes into js/src. Part 1: Move ctypes into js/src/ctypes. r=sayrer --HG-- rename : js/ctypes/CTypes.cpp => js/src/ctypes/CTypes.cpp rename : js/ctypes/CTypes.h => js/src/ctypes/CTypes.h rename : js/ctypes/Library.cpp => js/src/ctypes/Library.cpp rename : js/ctypes/Library.h => js/src/ctypes/Library.h rename : js/ctypes/ctypes.msg => js/src/ctypes/ctypes.msg rename : js/ctypes/libffi.patch => js/src/ctypes/libffi.patch rename : js/ctypes/libffi/ChangeLog => js/src/ctypes/libffi/ChangeLog rename : js/ctypes/libffi/ChangeLog.libffi => js/src/ctypes/libffi/ChangeLog.libffi rename : js/ctypes/libffi/ChangeLog.libgcj => js/src/ctypes/libffi/ChangeLog.libgcj rename : js/ctypes/libffi/ChangeLog.v1 => js/src/ctypes/libffi/ChangeLog.v1 rename : js/ctypes/libffi/LICENSE => js/src/ctypes/libffi/LICENSE rename : js/ctypes/libffi/Makefile.am => js/src/ctypes/libffi/Makefile.am rename : js/ctypes/libffi/Makefile.in => js/src/ctypes/libffi/Makefile.in rename : js/ctypes/libffi/README => js/src/ctypes/libffi/README rename : js/ctypes/libffi/acinclude.m4 => js/src/ctypes/libffi/acinclude.m4 rename : js/ctypes/libffi/aclocal.m4 => js/src/ctypes/libffi/aclocal.m4 rename : js/ctypes/libffi/compile => js/src/ctypes/libffi/compile rename : js/ctypes/libffi/config.guess => js/src/ctypes/libffi/config.guess rename : js/ctypes/libffi/config.sub => js/src/ctypes/libffi/config.sub rename : js/ctypes/libffi/configure => js/src/ctypes/libffi/configure rename : js/ctypes/libffi/configure.ac => js/src/ctypes/libffi/configure.ac rename : js/ctypes/libffi/configure.host => js/src/ctypes/libffi/configure.host rename : js/ctypes/libffi/depcomp => js/src/ctypes/libffi/depcomp rename : js/ctypes/libffi/doc/libffi.info => js/src/ctypes/libffi/doc/libffi.info rename : js/ctypes/libffi/doc/libffi.texi => js/src/ctypes/libffi/doc/libffi.texi rename : js/ctypes/libffi/doc/stamp-vti => js/src/ctypes/libffi/doc/stamp-vti rename : js/ctypes/libffi/doc/version.texi => js/src/ctypes/libffi/doc/version.texi rename : js/ctypes/libffi/fficonfig.h.in => js/src/ctypes/libffi/fficonfig.h.in rename : js/ctypes/libffi/include/Makefile.am => js/src/ctypes/libffi/include/Makefile.am rename : js/ctypes/libffi/include/Makefile.in => js/src/ctypes/libffi/include/Makefile.in rename : js/ctypes/libffi/include/ffi.h.in => js/src/ctypes/libffi/include/ffi.h.in rename : js/ctypes/libffi/include/ffi_common.h => js/src/ctypes/libffi/include/ffi_common.h rename : js/ctypes/libffi/install-sh => js/src/ctypes/libffi/install-sh rename : js/ctypes/libffi/libffi.pc.in => js/src/ctypes/libffi/libffi.pc.in rename : js/ctypes/libffi/libtool-version => js/src/ctypes/libffi/libtool-version rename : js/ctypes/libffi/ltmain.sh => js/src/ctypes/libffi/ltmain.sh rename : js/ctypes/libffi/m4/libtool.m4 => js/src/ctypes/libffi/m4/libtool.m4 rename : js/ctypes/libffi/m4/ltoptions.m4 => js/src/ctypes/libffi/m4/ltoptions.m4 rename : js/ctypes/libffi/m4/ltsugar.m4 => js/src/ctypes/libffi/m4/ltsugar.m4 rename : js/ctypes/libffi/m4/ltversion.m4 => js/src/ctypes/libffi/m4/ltversion.m4 rename : js/ctypes/libffi/m4/lt~obsolete.m4 => js/src/ctypes/libffi/m4/lt~obsolete.m4 rename : js/ctypes/libffi/man/Makefile.am => js/src/ctypes/libffi/man/Makefile.am rename : js/ctypes/libffi/man/Makefile.in => js/src/ctypes/libffi/man/Makefile.in rename : js/ctypes/libffi/man/ffi.3 => js/src/ctypes/libffi/man/ffi.3 rename : js/ctypes/libffi/man/ffi_call.3 => js/src/ctypes/libffi/man/ffi_call.3 rename : js/ctypes/libffi/man/ffi_prep_cif.3 => js/src/ctypes/libffi/man/ffi_prep_cif.3 rename : js/ctypes/libffi/mdate-sh => js/src/ctypes/libffi/mdate-sh rename : js/ctypes/libffi/missing => js/src/ctypes/libffi/missing rename : js/ctypes/libffi/msvcc.sh => js/src/ctypes/libffi/msvcc.sh rename : js/ctypes/libffi/src/alpha/ffi.c => js/src/ctypes/libffi/src/alpha/ffi.c rename : js/ctypes/libffi/src/alpha/ffitarget.h => js/src/ctypes/libffi/src/alpha/ffitarget.h rename : js/ctypes/libffi/src/alpha/osf.S => js/src/ctypes/libffi/src/alpha/osf.S rename : js/ctypes/libffi/src/arm/ffi.c => js/src/ctypes/libffi/src/arm/ffi.c rename : js/ctypes/libffi/src/arm/ffitarget.h => js/src/ctypes/libffi/src/arm/ffitarget.h rename : js/ctypes/libffi/src/arm/sysv.S => js/src/ctypes/libffi/src/arm/sysv.S rename : js/ctypes/libffi/src/avr32/ffi.c => js/src/ctypes/libffi/src/avr32/ffi.c rename : js/ctypes/libffi/src/avr32/ffitarget.h => js/src/ctypes/libffi/src/avr32/ffitarget.h rename : js/ctypes/libffi/src/avr32/sysv.S => js/src/ctypes/libffi/src/avr32/sysv.S rename : js/ctypes/libffi/src/closures.c => js/src/ctypes/libffi/src/closures.c rename : js/ctypes/libffi/src/cris/ffi.c => js/src/ctypes/libffi/src/cris/ffi.c rename : js/ctypes/libffi/src/cris/ffitarget.h => js/src/ctypes/libffi/src/cris/ffitarget.h rename : js/ctypes/libffi/src/cris/sysv.S => js/src/ctypes/libffi/src/cris/sysv.S rename : js/ctypes/libffi/src/debug.c => js/src/ctypes/libffi/src/debug.c rename : js/ctypes/libffi/src/dlmalloc.c => js/src/ctypes/libffi/src/dlmalloc.c rename : js/ctypes/libffi/src/frv/eabi.S => js/src/ctypes/libffi/src/frv/eabi.S rename : js/ctypes/libffi/src/frv/ffi.c => js/src/ctypes/libffi/src/frv/ffi.c rename : js/ctypes/libffi/src/frv/ffitarget.h => js/src/ctypes/libffi/src/frv/ffitarget.h rename : js/ctypes/libffi/src/ia64/ffi.c => js/src/ctypes/libffi/src/ia64/ffi.c rename : js/ctypes/libffi/src/ia64/ffitarget.h => js/src/ctypes/libffi/src/ia64/ffitarget.h rename : js/ctypes/libffi/src/ia64/ia64_flags.h => js/src/ctypes/libffi/src/ia64/ia64_flags.h rename : js/ctypes/libffi/src/ia64/unix.S => js/src/ctypes/libffi/src/ia64/unix.S rename : js/ctypes/libffi/src/java_raw_api.c => js/src/ctypes/libffi/src/java_raw_api.c rename : js/ctypes/libffi/src/m32r/ffi.c => js/src/ctypes/libffi/src/m32r/ffi.c rename : js/ctypes/libffi/src/m32r/ffitarget.h => js/src/ctypes/libffi/src/m32r/ffitarget.h rename : js/ctypes/libffi/src/m32r/sysv.S => js/src/ctypes/libffi/src/m32r/sysv.S rename : js/ctypes/libffi/src/m68k/ffi.c => js/src/ctypes/libffi/src/m68k/ffi.c rename : js/ctypes/libffi/src/m68k/ffitarget.h => js/src/ctypes/libffi/src/m68k/ffitarget.h rename : js/ctypes/libffi/src/m68k/sysv.S => js/src/ctypes/libffi/src/m68k/sysv.S rename : js/ctypes/libffi/src/mips/ffi.c => js/src/ctypes/libffi/src/mips/ffi.c rename : js/ctypes/libffi/src/mips/ffitarget.h => js/src/ctypes/libffi/src/mips/ffitarget.h rename : js/ctypes/libffi/src/mips/n32.S => js/src/ctypes/libffi/src/mips/n32.S rename : js/ctypes/libffi/src/mips/o32.S => js/src/ctypes/libffi/src/mips/o32.S rename : js/ctypes/libffi/src/moxie/eabi.S => js/src/ctypes/libffi/src/moxie/eabi.S rename : js/ctypes/libffi/src/moxie/ffi.c => js/src/ctypes/libffi/src/moxie/ffi.c rename : js/ctypes/libffi/src/moxie/ffitarget.h => js/src/ctypes/libffi/src/moxie/ffitarget.h rename : js/ctypes/libffi/src/pa/ffi.c => js/src/ctypes/libffi/src/pa/ffi.c rename : js/ctypes/libffi/src/pa/ffitarget.h => js/src/ctypes/libffi/src/pa/ffitarget.h rename : js/ctypes/libffi/src/pa/hpux32.S => js/src/ctypes/libffi/src/pa/hpux32.S rename : js/ctypes/libffi/src/pa/linux.S => js/src/ctypes/libffi/src/pa/linux.S rename : js/ctypes/libffi/src/powerpc/aix.S => js/src/ctypes/libffi/src/powerpc/aix.S rename : js/ctypes/libffi/src/powerpc/aix_closure.S => js/src/ctypes/libffi/src/powerpc/aix_closure.S rename : js/ctypes/libffi/src/powerpc/asm.h => js/src/ctypes/libffi/src/powerpc/asm.h rename : js/ctypes/libffi/src/powerpc/darwin.S => js/src/ctypes/libffi/src/powerpc/darwin.S rename : js/ctypes/libffi/src/powerpc/darwin_closure.S => js/src/ctypes/libffi/src/powerpc/darwin_closure.S rename : js/ctypes/libffi/src/powerpc/ffi.c => js/src/ctypes/libffi/src/powerpc/ffi.c rename : js/ctypes/libffi/src/powerpc/ffi_darwin.c => js/src/ctypes/libffi/src/powerpc/ffi_darwin.c rename : js/ctypes/libffi/src/powerpc/ffitarget.h => js/src/ctypes/libffi/src/powerpc/ffitarget.h rename : js/ctypes/libffi/src/powerpc/linux64.S => js/src/ctypes/libffi/src/powerpc/linux64.S rename : js/ctypes/libffi/src/powerpc/linux64_closure.S => js/src/ctypes/libffi/src/powerpc/linux64_closure.S rename : js/ctypes/libffi/src/powerpc/ppc_closure.S => js/src/ctypes/libffi/src/powerpc/ppc_closure.S rename : js/ctypes/libffi/src/powerpc/sysv.S => js/src/ctypes/libffi/src/powerpc/sysv.S rename : js/ctypes/libffi/src/prep_cif.c => js/src/ctypes/libffi/src/prep_cif.c rename : js/ctypes/libffi/src/raw_api.c => js/src/ctypes/libffi/src/raw_api.c rename : js/ctypes/libffi/src/s390/ffi.c => js/src/ctypes/libffi/src/s390/ffi.c rename : js/ctypes/libffi/src/s390/ffitarget.h => js/src/ctypes/libffi/src/s390/ffitarget.h rename : js/ctypes/libffi/src/s390/sysv.S => js/src/ctypes/libffi/src/s390/sysv.S rename : js/ctypes/libffi/src/sh/ffi.c => js/src/ctypes/libffi/src/sh/ffi.c rename : js/ctypes/libffi/src/sh/ffitarget.h => js/src/ctypes/libffi/src/sh/ffitarget.h rename : js/ctypes/libffi/src/sh/sysv.S => js/src/ctypes/libffi/src/sh/sysv.S rename : js/ctypes/libffi/src/sh64/ffi.c => js/src/ctypes/libffi/src/sh64/ffi.c rename : js/ctypes/libffi/src/sh64/ffitarget.h => js/src/ctypes/libffi/src/sh64/ffitarget.h rename : js/ctypes/libffi/src/sh64/sysv.S => js/src/ctypes/libffi/src/sh64/sysv.S rename : js/ctypes/libffi/src/sparc/ffi.c => js/src/ctypes/libffi/src/sparc/ffi.c rename : js/ctypes/libffi/src/sparc/ffitarget.h => js/src/ctypes/libffi/src/sparc/ffitarget.h rename : js/ctypes/libffi/src/sparc/v8.S => js/src/ctypes/libffi/src/sparc/v8.S rename : js/ctypes/libffi/src/sparc/v9.S => js/src/ctypes/libffi/src/sparc/v9.S rename : js/ctypes/libffi/src/types.c => js/src/ctypes/libffi/src/types.c rename : js/ctypes/libffi/src/x86/darwin.S => js/src/ctypes/libffi/src/x86/darwin.S rename : js/ctypes/libffi/src/x86/darwin64.S => js/src/ctypes/libffi/src/x86/darwin64.S rename : js/ctypes/libffi/src/x86/ffi.c => js/src/ctypes/libffi/src/x86/ffi.c rename : js/ctypes/libffi/src/x86/ffi64.c => js/src/ctypes/libffi/src/x86/ffi64.c rename : js/ctypes/libffi/src/x86/ffitarget.h => js/src/ctypes/libffi/src/x86/ffitarget.h rename : js/ctypes/libffi/src/x86/freebsd.S => js/src/ctypes/libffi/src/x86/freebsd.S rename : js/ctypes/libffi/src/x86/sysv.S => js/src/ctypes/libffi/src/x86/sysv.S rename : js/ctypes/libffi/src/x86/unix64.S => js/src/ctypes/libffi/src/x86/unix64.S rename : js/ctypes/libffi/src/x86/win32.S => js/src/ctypes/libffi/src/x86/win32.S rename : js/ctypes/libffi/src/x86/win64.S => js/src/ctypes/libffi/src/x86/win64.S rename : js/ctypes/libffi/testsuite/Makefile.am => js/src/ctypes/libffi/testsuite/Makefile.am rename : js/ctypes/libffi/testsuite/Makefile.in => js/src/ctypes/libffi/testsuite/Makefile.in rename : js/ctypes/libffi/testsuite/config/default.exp => js/src/ctypes/libffi/testsuite/config/default.exp rename : js/ctypes/libffi/testsuite/lib/libffi-dg.exp => js/src/ctypes/libffi/testsuite/lib/libffi-dg.exp rename : js/ctypes/libffi/testsuite/lib/target-libpath.exp => js/src/ctypes/libffi/testsuite/lib/target-libpath.exp rename : js/ctypes/libffi/testsuite/lib/wrapper.exp => js/src/ctypes/libffi/testsuite/lib/wrapper.exp rename : js/ctypes/libffi/testsuite/libffi.call/call.exp => js/src/ctypes/libffi/testsuite/libffi.call/call.exp rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn1.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn1.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn2.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn2.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn3.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn3.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn4.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn4.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn5.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn5.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn6.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn6.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_12byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_12byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_16byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_16byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_18byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_18byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_19byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_19byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_24byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_24byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_2byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_2byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_64byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_64byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_8byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_8byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c rename : js/ctypes/libffi/testsuite/libffi.call/ffitest.h => js/src/ctypes/libffi/testsuite/libffi.call/ffitest.h rename : js/ctypes/libffi/testsuite/libffi.call/float.c => js/src/ctypes/libffi/testsuite/libffi.call/float.c rename : js/ctypes/libffi/testsuite/libffi.call/float1.c => js/src/ctypes/libffi/testsuite/libffi.call/float1.c rename : js/ctypes/libffi/testsuite/libffi.call/float2.c => js/src/ctypes/libffi/testsuite/libffi.call/float2.c rename : js/ctypes/libffi/testsuite/libffi.call/float3.c => js/src/ctypes/libffi/testsuite/libffi.call/float3.c rename : js/ctypes/libffi/testsuite/libffi.call/float4.c => js/src/ctypes/libffi/testsuite/libffi.call/float4.c rename : js/ctypes/libffi/testsuite/libffi.call/huge_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/huge_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/many.c => js/src/ctypes/libffi/testsuite/libffi.call/many.c rename : js/ctypes/libffi/testsuite/libffi.call/many_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/many_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/negint.c => js/src/ctypes/libffi/testsuite/libffi.call/negint.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct10.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct10.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/problem1.c => js/src/ctypes/libffi/testsuite/libffi.call/problem1.c rename : js/ctypes/libffi/testsuite/libffi.call/promotion.c => js/src/ctypes/libffi/testsuite/libffi.call/promotion.c rename : js/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c => js/src/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl3.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl3.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ldl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ldl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_uc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_uc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ul.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ul.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large2.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium2.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/testclosure.c => js/src/ctypes/libffi/testsuite/libffi.call/testclosure.c rename : js/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h => js/src/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h rename : js/ctypes/libffi/testsuite/libffi.special/special.exp => js/src/ctypes/libffi/testsuite/libffi.special/special.exp rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest.cc rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc rename : js/ctypes/libffi/texinfo.tex => js/src/ctypes/libffi/texinfo.tex rename : js/ctypes/typedefs.h => js/src/ctypes/typedefs.h
2010-04-02 12:02:17 -07:00
# Build jsctypes if it's enabled.
if test "$JS_HAS_CTYPES"; then
# Run the libffi 'configure' script.
ac_configure_args="--disable-shared --enable-static --disable-raw-api"
if test "$MOZ_DEBUG"; then
ac_configure_args="$ac_configure_args --enable-debug"
fi
if test "$DSO_PIC_CFLAGS"; then
ac_configure_args="$ac_configure_args --with-pic"
fi
if test "$CROSS_COMPILE"; then
case "$target" in
*-mingw*)
ac_configure_args="$ac_configure_args --build=$build --host=${target_cpu}-${target_os} HOST_CC=\"$HOST_CC\" CC=\"$CC\""
;;
*-android*)
CFLAGS="$ANDROID_CFLAGS"
CPPFLAGS="$ANDROID_CPPFLAGS"
LDFLAGS="$ANDROID_LDFLAGS"
export AS CC CXX CPP LD AR RANLIB STRIP CPPFLAGS CFLAGS LDFLAGS
ac_configure_args="$ac_configure_args --build=$build --host=${target_cpu}-${target_os} HOST_CC=\"$HOST_CC\""
;;
Bug 538324 - Move ctypes into js/src. Part 1: Move ctypes into js/src/ctypes. r=sayrer --HG-- rename : js/ctypes/CTypes.cpp => js/src/ctypes/CTypes.cpp rename : js/ctypes/CTypes.h => js/src/ctypes/CTypes.h rename : js/ctypes/Library.cpp => js/src/ctypes/Library.cpp rename : js/ctypes/Library.h => js/src/ctypes/Library.h rename : js/ctypes/ctypes.msg => js/src/ctypes/ctypes.msg rename : js/ctypes/libffi.patch => js/src/ctypes/libffi.patch rename : js/ctypes/libffi/ChangeLog => js/src/ctypes/libffi/ChangeLog rename : js/ctypes/libffi/ChangeLog.libffi => js/src/ctypes/libffi/ChangeLog.libffi rename : js/ctypes/libffi/ChangeLog.libgcj => js/src/ctypes/libffi/ChangeLog.libgcj rename : js/ctypes/libffi/ChangeLog.v1 => js/src/ctypes/libffi/ChangeLog.v1 rename : js/ctypes/libffi/LICENSE => js/src/ctypes/libffi/LICENSE rename : js/ctypes/libffi/Makefile.am => js/src/ctypes/libffi/Makefile.am rename : js/ctypes/libffi/Makefile.in => js/src/ctypes/libffi/Makefile.in rename : js/ctypes/libffi/README => js/src/ctypes/libffi/README rename : js/ctypes/libffi/acinclude.m4 => js/src/ctypes/libffi/acinclude.m4 rename : js/ctypes/libffi/aclocal.m4 => js/src/ctypes/libffi/aclocal.m4 rename : js/ctypes/libffi/compile => js/src/ctypes/libffi/compile rename : js/ctypes/libffi/config.guess => js/src/ctypes/libffi/config.guess rename : js/ctypes/libffi/config.sub => js/src/ctypes/libffi/config.sub rename : js/ctypes/libffi/configure => js/src/ctypes/libffi/configure rename : js/ctypes/libffi/configure.ac => js/src/ctypes/libffi/configure.ac rename : js/ctypes/libffi/configure.host => js/src/ctypes/libffi/configure.host rename : js/ctypes/libffi/depcomp => js/src/ctypes/libffi/depcomp rename : js/ctypes/libffi/doc/libffi.info => js/src/ctypes/libffi/doc/libffi.info rename : js/ctypes/libffi/doc/libffi.texi => js/src/ctypes/libffi/doc/libffi.texi rename : js/ctypes/libffi/doc/stamp-vti => js/src/ctypes/libffi/doc/stamp-vti rename : js/ctypes/libffi/doc/version.texi => js/src/ctypes/libffi/doc/version.texi rename : js/ctypes/libffi/fficonfig.h.in => js/src/ctypes/libffi/fficonfig.h.in rename : js/ctypes/libffi/include/Makefile.am => js/src/ctypes/libffi/include/Makefile.am rename : js/ctypes/libffi/include/Makefile.in => js/src/ctypes/libffi/include/Makefile.in rename : js/ctypes/libffi/include/ffi.h.in => js/src/ctypes/libffi/include/ffi.h.in rename : js/ctypes/libffi/include/ffi_common.h => js/src/ctypes/libffi/include/ffi_common.h rename : js/ctypes/libffi/install-sh => js/src/ctypes/libffi/install-sh rename : js/ctypes/libffi/libffi.pc.in => js/src/ctypes/libffi/libffi.pc.in rename : js/ctypes/libffi/libtool-version => js/src/ctypes/libffi/libtool-version rename : js/ctypes/libffi/ltmain.sh => js/src/ctypes/libffi/ltmain.sh rename : js/ctypes/libffi/m4/libtool.m4 => js/src/ctypes/libffi/m4/libtool.m4 rename : js/ctypes/libffi/m4/ltoptions.m4 => js/src/ctypes/libffi/m4/ltoptions.m4 rename : js/ctypes/libffi/m4/ltsugar.m4 => js/src/ctypes/libffi/m4/ltsugar.m4 rename : js/ctypes/libffi/m4/ltversion.m4 => js/src/ctypes/libffi/m4/ltversion.m4 rename : js/ctypes/libffi/m4/lt~obsolete.m4 => js/src/ctypes/libffi/m4/lt~obsolete.m4 rename : js/ctypes/libffi/man/Makefile.am => js/src/ctypes/libffi/man/Makefile.am rename : js/ctypes/libffi/man/Makefile.in => js/src/ctypes/libffi/man/Makefile.in rename : js/ctypes/libffi/man/ffi.3 => js/src/ctypes/libffi/man/ffi.3 rename : js/ctypes/libffi/man/ffi_call.3 => js/src/ctypes/libffi/man/ffi_call.3 rename : js/ctypes/libffi/man/ffi_prep_cif.3 => js/src/ctypes/libffi/man/ffi_prep_cif.3 rename : js/ctypes/libffi/mdate-sh => js/src/ctypes/libffi/mdate-sh rename : js/ctypes/libffi/missing => js/src/ctypes/libffi/missing rename : js/ctypes/libffi/msvcc.sh => js/src/ctypes/libffi/msvcc.sh rename : js/ctypes/libffi/src/alpha/ffi.c => js/src/ctypes/libffi/src/alpha/ffi.c rename : js/ctypes/libffi/src/alpha/ffitarget.h => js/src/ctypes/libffi/src/alpha/ffitarget.h rename : js/ctypes/libffi/src/alpha/osf.S => js/src/ctypes/libffi/src/alpha/osf.S rename : js/ctypes/libffi/src/arm/ffi.c => js/src/ctypes/libffi/src/arm/ffi.c rename : js/ctypes/libffi/src/arm/ffitarget.h => js/src/ctypes/libffi/src/arm/ffitarget.h rename : js/ctypes/libffi/src/arm/sysv.S => js/src/ctypes/libffi/src/arm/sysv.S rename : js/ctypes/libffi/src/avr32/ffi.c => js/src/ctypes/libffi/src/avr32/ffi.c rename : js/ctypes/libffi/src/avr32/ffitarget.h => js/src/ctypes/libffi/src/avr32/ffitarget.h rename : js/ctypes/libffi/src/avr32/sysv.S => js/src/ctypes/libffi/src/avr32/sysv.S rename : js/ctypes/libffi/src/closures.c => js/src/ctypes/libffi/src/closures.c rename : js/ctypes/libffi/src/cris/ffi.c => js/src/ctypes/libffi/src/cris/ffi.c rename : js/ctypes/libffi/src/cris/ffitarget.h => js/src/ctypes/libffi/src/cris/ffitarget.h rename : js/ctypes/libffi/src/cris/sysv.S => js/src/ctypes/libffi/src/cris/sysv.S rename : js/ctypes/libffi/src/debug.c => js/src/ctypes/libffi/src/debug.c rename : js/ctypes/libffi/src/dlmalloc.c => js/src/ctypes/libffi/src/dlmalloc.c rename : js/ctypes/libffi/src/frv/eabi.S => js/src/ctypes/libffi/src/frv/eabi.S rename : js/ctypes/libffi/src/frv/ffi.c => js/src/ctypes/libffi/src/frv/ffi.c rename : js/ctypes/libffi/src/frv/ffitarget.h => js/src/ctypes/libffi/src/frv/ffitarget.h rename : js/ctypes/libffi/src/ia64/ffi.c => js/src/ctypes/libffi/src/ia64/ffi.c rename : js/ctypes/libffi/src/ia64/ffitarget.h => js/src/ctypes/libffi/src/ia64/ffitarget.h rename : js/ctypes/libffi/src/ia64/ia64_flags.h => js/src/ctypes/libffi/src/ia64/ia64_flags.h rename : js/ctypes/libffi/src/ia64/unix.S => js/src/ctypes/libffi/src/ia64/unix.S rename : js/ctypes/libffi/src/java_raw_api.c => js/src/ctypes/libffi/src/java_raw_api.c rename : js/ctypes/libffi/src/m32r/ffi.c => js/src/ctypes/libffi/src/m32r/ffi.c rename : js/ctypes/libffi/src/m32r/ffitarget.h => js/src/ctypes/libffi/src/m32r/ffitarget.h rename : js/ctypes/libffi/src/m32r/sysv.S => js/src/ctypes/libffi/src/m32r/sysv.S rename : js/ctypes/libffi/src/m68k/ffi.c => js/src/ctypes/libffi/src/m68k/ffi.c rename : js/ctypes/libffi/src/m68k/ffitarget.h => js/src/ctypes/libffi/src/m68k/ffitarget.h rename : js/ctypes/libffi/src/m68k/sysv.S => js/src/ctypes/libffi/src/m68k/sysv.S rename : js/ctypes/libffi/src/mips/ffi.c => js/src/ctypes/libffi/src/mips/ffi.c rename : js/ctypes/libffi/src/mips/ffitarget.h => js/src/ctypes/libffi/src/mips/ffitarget.h rename : js/ctypes/libffi/src/mips/n32.S => js/src/ctypes/libffi/src/mips/n32.S rename : js/ctypes/libffi/src/mips/o32.S => js/src/ctypes/libffi/src/mips/o32.S rename : js/ctypes/libffi/src/moxie/eabi.S => js/src/ctypes/libffi/src/moxie/eabi.S rename : js/ctypes/libffi/src/moxie/ffi.c => js/src/ctypes/libffi/src/moxie/ffi.c rename : js/ctypes/libffi/src/moxie/ffitarget.h => js/src/ctypes/libffi/src/moxie/ffitarget.h rename : js/ctypes/libffi/src/pa/ffi.c => js/src/ctypes/libffi/src/pa/ffi.c rename : js/ctypes/libffi/src/pa/ffitarget.h => js/src/ctypes/libffi/src/pa/ffitarget.h rename : js/ctypes/libffi/src/pa/hpux32.S => js/src/ctypes/libffi/src/pa/hpux32.S rename : js/ctypes/libffi/src/pa/linux.S => js/src/ctypes/libffi/src/pa/linux.S rename : js/ctypes/libffi/src/powerpc/aix.S => js/src/ctypes/libffi/src/powerpc/aix.S rename : js/ctypes/libffi/src/powerpc/aix_closure.S => js/src/ctypes/libffi/src/powerpc/aix_closure.S rename : js/ctypes/libffi/src/powerpc/asm.h => js/src/ctypes/libffi/src/powerpc/asm.h rename : js/ctypes/libffi/src/powerpc/darwin.S => js/src/ctypes/libffi/src/powerpc/darwin.S rename : js/ctypes/libffi/src/powerpc/darwin_closure.S => js/src/ctypes/libffi/src/powerpc/darwin_closure.S rename : js/ctypes/libffi/src/powerpc/ffi.c => js/src/ctypes/libffi/src/powerpc/ffi.c rename : js/ctypes/libffi/src/powerpc/ffi_darwin.c => js/src/ctypes/libffi/src/powerpc/ffi_darwin.c rename : js/ctypes/libffi/src/powerpc/ffitarget.h => js/src/ctypes/libffi/src/powerpc/ffitarget.h rename : js/ctypes/libffi/src/powerpc/linux64.S => js/src/ctypes/libffi/src/powerpc/linux64.S rename : js/ctypes/libffi/src/powerpc/linux64_closure.S => js/src/ctypes/libffi/src/powerpc/linux64_closure.S rename : js/ctypes/libffi/src/powerpc/ppc_closure.S => js/src/ctypes/libffi/src/powerpc/ppc_closure.S rename : js/ctypes/libffi/src/powerpc/sysv.S => js/src/ctypes/libffi/src/powerpc/sysv.S rename : js/ctypes/libffi/src/prep_cif.c => js/src/ctypes/libffi/src/prep_cif.c rename : js/ctypes/libffi/src/raw_api.c => js/src/ctypes/libffi/src/raw_api.c rename : js/ctypes/libffi/src/s390/ffi.c => js/src/ctypes/libffi/src/s390/ffi.c rename : js/ctypes/libffi/src/s390/ffitarget.h => js/src/ctypes/libffi/src/s390/ffitarget.h rename : js/ctypes/libffi/src/s390/sysv.S => js/src/ctypes/libffi/src/s390/sysv.S rename : js/ctypes/libffi/src/sh/ffi.c => js/src/ctypes/libffi/src/sh/ffi.c rename : js/ctypes/libffi/src/sh/ffitarget.h => js/src/ctypes/libffi/src/sh/ffitarget.h rename : js/ctypes/libffi/src/sh/sysv.S => js/src/ctypes/libffi/src/sh/sysv.S rename : js/ctypes/libffi/src/sh64/ffi.c => js/src/ctypes/libffi/src/sh64/ffi.c rename : js/ctypes/libffi/src/sh64/ffitarget.h => js/src/ctypes/libffi/src/sh64/ffitarget.h rename : js/ctypes/libffi/src/sh64/sysv.S => js/src/ctypes/libffi/src/sh64/sysv.S rename : js/ctypes/libffi/src/sparc/ffi.c => js/src/ctypes/libffi/src/sparc/ffi.c rename : js/ctypes/libffi/src/sparc/ffitarget.h => js/src/ctypes/libffi/src/sparc/ffitarget.h rename : js/ctypes/libffi/src/sparc/v8.S => js/src/ctypes/libffi/src/sparc/v8.S rename : js/ctypes/libffi/src/sparc/v9.S => js/src/ctypes/libffi/src/sparc/v9.S rename : js/ctypes/libffi/src/types.c => js/src/ctypes/libffi/src/types.c rename : js/ctypes/libffi/src/x86/darwin.S => js/src/ctypes/libffi/src/x86/darwin.S rename : js/ctypes/libffi/src/x86/darwin64.S => js/src/ctypes/libffi/src/x86/darwin64.S rename : js/ctypes/libffi/src/x86/ffi.c => js/src/ctypes/libffi/src/x86/ffi.c rename : js/ctypes/libffi/src/x86/ffi64.c => js/src/ctypes/libffi/src/x86/ffi64.c rename : js/ctypes/libffi/src/x86/ffitarget.h => js/src/ctypes/libffi/src/x86/ffitarget.h rename : js/ctypes/libffi/src/x86/freebsd.S => js/src/ctypes/libffi/src/x86/freebsd.S rename : js/ctypes/libffi/src/x86/sysv.S => js/src/ctypes/libffi/src/x86/sysv.S rename : js/ctypes/libffi/src/x86/unix64.S => js/src/ctypes/libffi/src/x86/unix64.S rename : js/ctypes/libffi/src/x86/win32.S => js/src/ctypes/libffi/src/x86/win32.S rename : js/ctypes/libffi/src/x86/win64.S => js/src/ctypes/libffi/src/x86/win64.S rename : js/ctypes/libffi/testsuite/Makefile.am => js/src/ctypes/libffi/testsuite/Makefile.am rename : js/ctypes/libffi/testsuite/Makefile.in => js/src/ctypes/libffi/testsuite/Makefile.in rename : js/ctypes/libffi/testsuite/config/default.exp => js/src/ctypes/libffi/testsuite/config/default.exp rename : js/ctypes/libffi/testsuite/lib/libffi-dg.exp => js/src/ctypes/libffi/testsuite/lib/libffi-dg.exp rename : js/ctypes/libffi/testsuite/lib/target-libpath.exp => js/src/ctypes/libffi/testsuite/lib/target-libpath.exp rename : js/ctypes/libffi/testsuite/lib/wrapper.exp => js/src/ctypes/libffi/testsuite/lib/wrapper.exp rename : js/ctypes/libffi/testsuite/libffi.call/call.exp => js/src/ctypes/libffi/testsuite/libffi.call/call.exp rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn1.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn1.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn2.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn2.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn3.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn3.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn4.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn4.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn5.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn5.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn6.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn6.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_12byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_12byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_16byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_16byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_18byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_18byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_19byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_19byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_24byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_24byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_2byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_2byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_64byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_64byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_8byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_8byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c rename : js/ctypes/libffi/testsuite/libffi.call/ffitest.h => js/src/ctypes/libffi/testsuite/libffi.call/ffitest.h rename : js/ctypes/libffi/testsuite/libffi.call/float.c => js/src/ctypes/libffi/testsuite/libffi.call/float.c rename : js/ctypes/libffi/testsuite/libffi.call/float1.c => js/src/ctypes/libffi/testsuite/libffi.call/float1.c rename : js/ctypes/libffi/testsuite/libffi.call/float2.c => js/src/ctypes/libffi/testsuite/libffi.call/float2.c rename : js/ctypes/libffi/testsuite/libffi.call/float3.c => js/src/ctypes/libffi/testsuite/libffi.call/float3.c rename : js/ctypes/libffi/testsuite/libffi.call/float4.c => js/src/ctypes/libffi/testsuite/libffi.call/float4.c rename : js/ctypes/libffi/testsuite/libffi.call/huge_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/huge_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/many.c => js/src/ctypes/libffi/testsuite/libffi.call/many.c rename : js/ctypes/libffi/testsuite/libffi.call/many_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/many_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/negint.c => js/src/ctypes/libffi/testsuite/libffi.call/negint.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct10.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct10.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/problem1.c => js/src/ctypes/libffi/testsuite/libffi.call/problem1.c rename : js/ctypes/libffi/testsuite/libffi.call/promotion.c => js/src/ctypes/libffi/testsuite/libffi.call/promotion.c rename : js/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c => js/src/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl3.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl3.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ldl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ldl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_uc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_uc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ul.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ul.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large2.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium2.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/testclosure.c => js/src/ctypes/libffi/testsuite/libffi.call/testclosure.c rename : js/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h => js/src/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h rename : js/ctypes/libffi/testsuite/libffi.special/special.exp => js/src/ctypes/libffi/testsuite/libffi.special/special.exp rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest.cc rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc rename : js/ctypes/libffi/texinfo.tex => js/src/ctypes/libffi/texinfo.tex rename : js/ctypes/typedefs.h => js/src/ctypes/typedefs.h
2010-04-02 12:02:17 -07:00
*)
ac_configure_args="$ac_configure_args --build=$build --host=$target HOST_CC=\"$HOST_CC\" CC=\"$CC\""
;;
esac
fi
if test "$_MSC_VER"; then
# Use a wrapper script for cl and ml that looks more like gcc.
# autotools can't quite handle an MSVC build environment yet.
ac_configure_args="$ac_configure_args LD=link CPP=\"cl -nologo -EP\" SHELL=sh.exe"
case "${target_cpu}" in
x86_64)
# Need target since MSYS tools into mozilla-build may be 32bit
ac_configure_args="$ac_configure_args CC=\"$_topsrcdir/ctypes/libffi/msvcc.sh -m64\" --build=$build --host=$target"
;;
*)
ac_configure_args="$ac_configure_args CC=$_topsrcdir/ctypes/libffi/msvcc.sh"
;;
esac
fi
if test "$SOLARIS_SUNPRO_CC"; then
# Always use gcc for libffi on Solaris
if test ! "$HAVE_64BIT_OS"; then
ac_configure_args="$ac_configure_args CC=gcc CFLAGS=-m32"
else
ac_configure_args="$ac_configure_args CC=gcc CFLAGS=-m64"
fi
Bug 538324 - Move ctypes into js/src. Part 1: Move ctypes into js/src/ctypes. r=sayrer --HG-- rename : js/ctypes/CTypes.cpp => js/src/ctypes/CTypes.cpp rename : js/ctypes/CTypes.h => js/src/ctypes/CTypes.h rename : js/ctypes/Library.cpp => js/src/ctypes/Library.cpp rename : js/ctypes/Library.h => js/src/ctypes/Library.h rename : js/ctypes/ctypes.msg => js/src/ctypes/ctypes.msg rename : js/ctypes/libffi.patch => js/src/ctypes/libffi.patch rename : js/ctypes/libffi/ChangeLog => js/src/ctypes/libffi/ChangeLog rename : js/ctypes/libffi/ChangeLog.libffi => js/src/ctypes/libffi/ChangeLog.libffi rename : js/ctypes/libffi/ChangeLog.libgcj => js/src/ctypes/libffi/ChangeLog.libgcj rename : js/ctypes/libffi/ChangeLog.v1 => js/src/ctypes/libffi/ChangeLog.v1 rename : js/ctypes/libffi/LICENSE => js/src/ctypes/libffi/LICENSE rename : js/ctypes/libffi/Makefile.am => js/src/ctypes/libffi/Makefile.am rename : js/ctypes/libffi/Makefile.in => js/src/ctypes/libffi/Makefile.in rename : js/ctypes/libffi/README => js/src/ctypes/libffi/README rename : js/ctypes/libffi/acinclude.m4 => js/src/ctypes/libffi/acinclude.m4 rename : js/ctypes/libffi/aclocal.m4 => js/src/ctypes/libffi/aclocal.m4 rename : js/ctypes/libffi/compile => js/src/ctypes/libffi/compile rename : js/ctypes/libffi/config.guess => js/src/ctypes/libffi/config.guess rename : js/ctypes/libffi/config.sub => js/src/ctypes/libffi/config.sub rename : js/ctypes/libffi/configure => js/src/ctypes/libffi/configure rename : js/ctypes/libffi/configure.ac => js/src/ctypes/libffi/configure.ac rename : js/ctypes/libffi/configure.host => js/src/ctypes/libffi/configure.host rename : js/ctypes/libffi/depcomp => js/src/ctypes/libffi/depcomp rename : js/ctypes/libffi/doc/libffi.info => js/src/ctypes/libffi/doc/libffi.info rename : js/ctypes/libffi/doc/libffi.texi => js/src/ctypes/libffi/doc/libffi.texi rename : js/ctypes/libffi/doc/stamp-vti => js/src/ctypes/libffi/doc/stamp-vti rename : js/ctypes/libffi/doc/version.texi => js/src/ctypes/libffi/doc/version.texi rename : js/ctypes/libffi/fficonfig.h.in => js/src/ctypes/libffi/fficonfig.h.in rename : js/ctypes/libffi/include/Makefile.am => js/src/ctypes/libffi/include/Makefile.am rename : js/ctypes/libffi/include/Makefile.in => js/src/ctypes/libffi/include/Makefile.in rename : js/ctypes/libffi/include/ffi.h.in => js/src/ctypes/libffi/include/ffi.h.in rename : js/ctypes/libffi/include/ffi_common.h => js/src/ctypes/libffi/include/ffi_common.h rename : js/ctypes/libffi/install-sh => js/src/ctypes/libffi/install-sh rename : js/ctypes/libffi/libffi.pc.in => js/src/ctypes/libffi/libffi.pc.in rename : js/ctypes/libffi/libtool-version => js/src/ctypes/libffi/libtool-version rename : js/ctypes/libffi/ltmain.sh => js/src/ctypes/libffi/ltmain.sh rename : js/ctypes/libffi/m4/libtool.m4 => js/src/ctypes/libffi/m4/libtool.m4 rename : js/ctypes/libffi/m4/ltoptions.m4 => js/src/ctypes/libffi/m4/ltoptions.m4 rename : js/ctypes/libffi/m4/ltsugar.m4 => js/src/ctypes/libffi/m4/ltsugar.m4 rename : js/ctypes/libffi/m4/ltversion.m4 => js/src/ctypes/libffi/m4/ltversion.m4 rename : js/ctypes/libffi/m4/lt~obsolete.m4 => js/src/ctypes/libffi/m4/lt~obsolete.m4 rename : js/ctypes/libffi/man/Makefile.am => js/src/ctypes/libffi/man/Makefile.am rename : js/ctypes/libffi/man/Makefile.in => js/src/ctypes/libffi/man/Makefile.in rename : js/ctypes/libffi/man/ffi.3 => js/src/ctypes/libffi/man/ffi.3 rename : js/ctypes/libffi/man/ffi_call.3 => js/src/ctypes/libffi/man/ffi_call.3 rename : js/ctypes/libffi/man/ffi_prep_cif.3 => js/src/ctypes/libffi/man/ffi_prep_cif.3 rename : js/ctypes/libffi/mdate-sh => js/src/ctypes/libffi/mdate-sh rename : js/ctypes/libffi/missing => js/src/ctypes/libffi/missing rename : js/ctypes/libffi/msvcc.sh => js/src/ctypes/libffi/msvcc.sh rename : js/ctypes/libffi/src/alpha/ffi.c => js/src/ctypes/libffi/src/alpha/ffi.c rename : js/ctypes/libffi/src/alpha/ffitarget.h => js/src/ctypes/libffi/src/alpha/ffitarget.h rename : js/ctypes/libffi/src/alpha/osf.S => js/src/ctypes/libffi/src/alpha/osf.S rename : js/ctypes/libffi/src/arm/ffi.c => js/src/ctypes/libffi/src/arm/ffi.c rename : js/ctypes/libffi/src/arm/ffitarget.h => js/src/ctypes/libffi/src/arm/ffitarget.h rename : js/ctypes/libffi/src/arm/sysv.S => js/src/ctypes/libffi/src/arm/sysv.S rename : js/ctypes/libffi/src/avr32/ffi.c => js/src/ctypes/libffi/src/avr32/ffi.c rename : js/ctypes/libffi/src/avr32/ffitarget.h => js/src/ctypes/libffi/src/avr32/ffitarget.h rename : js/ctypes/libffi/src/avr32/sysv.S => js/src/ctypes/libffi/src/avr32/sysv.S rename : js/ctypes/libffi/src/closures.c => js/src/ctypes/libffi/src/closures.c rename : js/ctypes/libffi/src/cris/ffi.c => js/src/ctypes/libffi/src/cris/ffi.c rename : js/ctypes/libffi/src/cris/ffitarget.h => js/src/ctypes/libffi/src/cris/ffitarget.h rename : js/ctypes/libffi/src/cris/sysv.S => js/src/ctypes/libffi/src/cris/sysv.S rename : js/ctypes/libffi/src/debug.c => js/src/ctypes/libffi/src/debug.c rename : js/ctypes/libffi/src/dlmalloc.c => js/src/ctypes/libffi/src/dlmalloc.c rename : js/ctypes/libffi/src/frv/eabi.S => js/src/ctypes/libffi/src/frv/eabi.S rename : js/ctypes/libffi/src/frv/ffi.c => js/src/ctypes/libffi/src/frv/ffi.c rename : js/ctypes/libffi/src/frv/ffitarget.h => js/src/ctypes/libffi/src/frv/ffitarget.h rename : js/ctypes/libffi/src/ia64/ffi.c => js/src/ctypes/libffi/src/ia64/ffi.c rename : js/ctypes/libffi/src/ia64/ffitarget.h => js/src/ctypes/libffi/src/ia64/ffitarget.h rename : js/ctypes/libffi/src/ia64/ia64_flags.h => js/src/ctypes/libffi/src/ia64/ia64_flags.h rename : js/ctypes/libffi/src/ia64/unix.S => js/src/ctypes/libffi/src/ia64/unix.S rename : js/ctypes/libffi/src/java_raw_api.c => js/src/ctypes/libffi/src/java_raw_api.c rename : js/ctypes/libffi/src/m32r/ffi.c => js/src/ctypes/libffi/src/m32r/ffi.c rename : js/ctypes/libffi/src/m32r/ffitarget.h => js/src/ctypes/libffi/src/m32r/ffitarget.h rename : js/ctypes/libffi/src/m32r/sysv.S => js/src/ctypes/libffi/src/m32r/sysv.S rename : js/ctypes/libffi/src/m68k/ffi.c => js/src/ctypes/libffi/src/m68k/ffi.c rename : js/ctypes/libffi/src/m68k/ffitarget.h => js/src/ctypes/libffi/src/m68k/ffitarget.h rename : js/ctypes/libffi/src/m68k/sysv.S => js/src/ctypes/libffi/src/m68k/sysv.S rename : js/ctypes/libffi/src/mips/ffi.c => js/src/ctypes/libffi/src/mips/ffi.c rename : js/ctypes/libffi/src/mips/ffitarget.h => js/src/ctypes/libffi/src/mips/ffitarget.h rename : js/ctypes/libffi/src/mips/n32.S => js/src/ctypes/libffi/src/mips/n32.S rename : js/ctypes/libffi/src/mips/o32.S => js/src/ctypes/libffi/src/mips/o32.S rename : js/ctypes/libffi/src/moxie/eabi.S => js/src/ctypes/libffi/src/moxie/eabi.S rename : js/ctypes/libffi/src/moxie/ffi.c => js/src/ctypes/libffi/src/moxie/ffi.c rename : js/ctypes/libffi/src/moxie/ffitarget.h => js/src/ctypes/libffi/src/moxie/ffitarget.h rename : js/ctypes/libffi/src/pa/ffi.c => js/src/ctypes/libffi/src/pa/ffi.c rename : js/ctypes/libffi/src/pa/ffitarget.h => js/src/ctypes/libffi/src/pa/ffitarget.h rename : js/ctypes/libffi/src/pa/hpux32.S => js/src/ctypes/libffi/src/pa/hpux32.S rename : js/ctypes/libffi/src/pa/linux.S => js/src/ctypes/libffi/src/pa/linux.S rename : js/ctypes/libffi/src/powerpc/aix.S => js/src/ctypes/libffi/src/powerpc/aix.S rename : js/ctypes/libffi/src/powerpc/aix_closure.S => js/src/ctypes/libffi/src/powerpc/aix_closure.S rename : js/ctypes/libffi/src/powerpc/asm.h => js/src/ctypes/libffi/src/powerpc/asm.h rename : js/ctypes/libffi/src/powerpc/darwin.S => js/src/ctypes/libffi/src/powerpc/darwin.S rename : js/ctypes/libffi/src/powerpc/darwin_closure.S => js/src/ctypes/libffi/src/powerpc/darwin_closure.S rename : js/ctypes/libffi/src/powerpc/ffi.c => js/src/ctypes/libffi/src/powerpc/ffi.c rename : js/ctypes/libffi/src/powerpc/ffi_darwin.c => js/src/ctypes/libffi/src/powerpc/ffi_darwin.c rename : js/ctypes/libffi/src/powerpc/ffitarget.h => js/src/ctypes/libffi/src/powerpc/ffitarget.h rename : js/ctypes/libffi/src/powerpc/linux64.S => js/src/ctypes/libffi/src/powerpc/linux64.S rename : js/ctypes/libffi/src/powerpc/linux64_closure.S => js/src/ctypes/libffi/src/powerpc/linux64_closure.S rename : js/ctypes/libffi/src/powerpc/ppc_closure.S => js/src/ctypes/libffi/src/powerpc/ppc_closure.S rename : js/ctypes/libffi/src/powerpc/sysv.S => js/src/ctypes/libffi/src/powerpc/sysv.S rename : js/ctypes/libffi/src/prep_cif.c => js/src/ctypes/libffi/src/prep_cif.c rename : js/ctypes/libffi/src/raw_api.c => js/src/ctypes/libffi/src/raw_api.c rename : js/ctypes/libffi/src/s390/ffi.c => js/src/ctypes/libffi/src/s390/ffi.c rename : js/ctypes/libffi/src/s390/ffitarget.h => js/src/ctypes/libffi/src/s390/ffitarget.h rename : js/ctypes/libffi/src/s390/sysv.S => js/src/ctypes/libffi/src/s390/sysv.S rename : js/ctypes/libffi/src/sh/ffi.c => js/src/ctypes/libffi/src/sh/ffi.c rename : js/ctypes/libffi/src/sh/ffitarget.h => js/src/ctypes/libffi/src/sh/ffitarget.h rename : js/ctypes/libffi/src/sh/sysv.S => js/src/ctypes/libffi/src/sh/sysv.S rename : js/ctypes/libffi/src/sh64/ffi.c => js/src/ctypes/libffi/src/sh64/ffi.c rename : js/ctypes/libffi/src/sh64/ffitarget.h => js/src/ctypes/libffi/src/sh64/ffitarget.h rename : js/ctypes/libffi/src/sh64/sysv.S => js/src/ctypes/libffi/src/sh64/sysv.S rename : js/ctypes/libffi/src/sparc/ffi.c => js/src/ctypes/libffi/src/sparc/ffi.c rename : js/ctypes/libffi/src/sparc/ffitarget.h => js/src/ctypes/libffi/src/sparc/ffitarget.h rename : js/ctypes/libffi/src/sparc/v8.S => js/src/ctypes/libffi/src/sparc/v8.S rename : js/ctypes/libffi/src/sparc/v9.S => js/src/ctypes/libffi/src/sparc/v9.S rename : js/ctypes/libffi/src/types.c => js/src/ctypes/libffi/src/types.c rename : js/ctypes/libffi/src/x86/darwin.S => js/src/ctypes/libffi/src/x86/darwin.S rename : js/ctypes/libffi/src/x86/darwin64.S => js/src/ctypes/libffi/src/x86/darwin64.S rename : js/ctypes/libffi/src/x86/ffi.c => js/src/ctypes/libffi/src/x86/ffi.c rename : js/ctypes/libffi/src/x86/ffi64.c => js/src/ctypes/libffi/src/x86/ffi64.c rename : js/ctypes/libffi/src/x86/ffitarget.h => js/src/ctypes/libffi/src/x86/ffitarget.h rename : js/ctypes/libffi/src/x86/freebsd.S => js/src/ctypes/libffi/src/x86/freebsd.S rename : js/ctypes/libffi/src/x86/sysv.S => js/src/ctypes/libffi/src/x86/sysv.S rename : js/ctypes/libffi/src/x86/unix64.S => js/src/ctypes/libffi/src/x86/unix64.S rename : js/ctypes/libffi/src/x86/win32.S => js/src/ctypes/libffi/src/x86/win32.S rename : js/ctypes/libffi/src/x86/win64.S => js/src/ctypes/libffi/src/x86/win64.S rename : js/ctypes/libffi/testsuite/Makefile.am => js/src/ctypes/libffi/testsuite/Makefile.am rename : js/ctypes/libffi/testsuite/Makefile.in => js/src/ctypes/libffi/testsuite/Makefile.in rename : js/ctypes/libffi/testsuite/config/default.exp => js/src/ctypes/libffi/testsuite/config/default.exp rename : js/ctypes/libffi/testsuite/lib/libffi-dg.exp => js/src/ctypes/libffi/testsuite/lib/libffi-dg.exp rename : js/ctypes/libffi/testsuite/lib/target-libpath.exp => js/src/ctypes/libffi/testsuite/lib/target-libpath.exp rename : js/ctypes/libffi/testsuite/lib/wrapper.exp => js/src/ctypes/libffi/testsuite/lib/wrapper.exp rename : js/ctypes/libffi/testsuite/libffi.call/call.exp => js/src/ctypes/libffi/testsuite/libffi.call/call.exp rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn1.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn1.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn2.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn2.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn3.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn3.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn4.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn4.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn5.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn5.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn6.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn6.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_12byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_12byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_16byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_16byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_18byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_18byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_19byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_19byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_24byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_24byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_2byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_2byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_64byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_64byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_8byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_8byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c rename : js/ctypes/libffi/testsuite/libffi.call/ffitest.h => js/src/ctypes/libffi/testsuite/libffi.call/ffitest.h rename : js/ctypes/libffi/testsuite/libffi.call/float.c => js/src/ctypes/libffi/testsuite/libffi.call/float.c rename : js/ctypes/libffi/testsuite/libffi.call/float1.c => js/src/ctypes/libffi/testsuite/libffi.call/float1.c rename : js/ctypes/libffi/testsuite/libffi.call/float2.c => js/src/ctypes/libffi/testsuite/libffi.call/float2.c rename : js/ctypes/libffi/testsuite/libffi.call/float3.c => js/src/ctypes/libffi/testsuite/libffi.call/float3.c rename : js/ctypes/libffi/testsuite/libffi.call/float4.c => js/src/ctypes/libffi/testsuite/libffi.call/float4.c rename : js/ctypes/libffi/testsuite/libffi.call/huge_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/huge_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/many.c => js/src/ctypes/libffi/testsuite/libffi.call/many.c rename : js/ctypes/libffi/testsuite/libffi.call/many_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/many_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/negint.c => js/src/ctypes/libffi/testsuite/libffi.call/negint.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct10.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct10.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/problem1.c => js/src/ctypes/libffi/testsuite/libffi.call/problem1.c rename : js/ctypes/libffi/testsuite/libffi.call/promotion.c => js/src/ctypes/libffi/testsuite/libffi.call/promotion.c rename : js/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c => js/src/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl3.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl3.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ldl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ldl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_uc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_uc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ul.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ul.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large2.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium2.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/testclosure.c => js/src/ctypes/libffi/testsuite/libffi.call/testclosure.c rename : js/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h => js/src/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h rename : js/ctypes/libffi/testsuite/libffi.special/special.exp => js/src/ctypes/libffi/testsuite/libffi.special/special.exp rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest.cc rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc rename : js/ctypes/libffi/texinfo.tex => js/src/ctypes/libffi/texinfo.tex rename : js/ctypes/typedefs.h => js/src/ctypes/typedefs.h
2010-04-02 12:02:17 -07:00
fi
if test "$OS_ARCH" = "OS2"; then
ac_configure_args="$ac_configure_args CFLAGS=-Zomf AR=emxomfar"
fi
if test -n "$MOZ_THUMB2"; then
ac_configure_args="$ac_configure_args --enable-thumb2"
fi
Bug 538324 - Move ctypes into js/src. Part 1: Move ctypes into js/src/ctypes. r=sayrer --HG-- rename : js/ctypes/CTypes.cpp => js/src/ctypes/CTypes.cpp rename : js/ctypes/CTypes.h => js/src/ctypes/CTypes.h rename : js/ctypes/Library.cpp => js/src/ctypes/Library.cpp rename : js/ctypes/Library.h => js/src/ctypes/Library.h rename : js/ctypes/ctypes.msg => js/src/ctypes/ctypes.msg rename : js/ctypes/libffi.patch => js/src/ctypes/libffi.patch rename : js/ctypes/libffi/ChangeLog => js/src/ctypes/libffi/ChangeLog rename : js/ctypes/libffi/ChangeLog.libffi => js/src/ctypes/libffi/ChangeLog.libffi rename : js/ctypes/libffi/ChangeLog.libgcj => js/src/ctypes/libffi/ChangeLog.libgcj rename : js/ctypes/libffi/ChangeLog.v1 => js/src/ctypes/libffi/ChangeLog.v1 rename : js/ctypes/libffi/LICENSE => js/src/ctypes/libffi/LICENSE rename : js/ctypes/libffi/Makefile.am => js/src/ctypes/libffi/Makefile.am rename : js/ctypes/libffi/Makefile.in => js/src/ctypes/libffi/Makefile.in rename : js/ctypes/libffi/README => js/src/ctypes/libffi/README rename : js/ctypes/libffi/acinclude.m4 => js/src/ctypes/libffi/acinclude.m4 rename : js/ctypes/libffi/aclocal.m4 => js/src/ctypes/libffi/aclocal.m4 rename : js/ctypes/libffi/compile => js/src/ctypes/libffi/compile rename : js/ctypes/libffi/config.guess => js/src/ctypes/libffi/config.guess rename : js/ctypes/libffi/config.sub => js/src/ctypes/libffi/config.sub rename : js/ctypes/libffi/configure => js/src/ctypes/libffi/configure rename : js/ctypes/libffi/configure.ac => js/src/ctypes/libffi/configure.ac rename : js/ctypes/libffi/configure.host => js/src/ctypes/libffi/configure.host rename : js/ctypes/libffi/depcomp => js/src/ctypes/libffi/depcomp rename : js/ctypes/libffi/doc/libffi.info => js/src/ctypes/libffi/doc/libffi.info rename : js/ctypes/libffi/doc/libffi.texi => js/src/ctypes/libffi/doc/libffi.texi rename : js/ctypes/libffi/doc/stamp-vti => js/src/ctypes/libffi/doc/stamp-vti rename : js/ctypes/libffi/doc/version.texi => js/src/ctypes/libffi/doc/version.texi rename : js/ctypes/libffi/fficonfig.h.in => js/src/ctypes/libffi/fficonfig.h.in rename : js/ctypes/libffi/include/Makefile.am => js/src/ctypes/libffi/include/Makefile.am rename : js/ctypes/libffi/include/Makefile.in => js/src/ctypes/libffi/include/Makefile.in rename : js/ctypes/libffi/include/ffi.h.in => js/src/ctypes/libffi/include/ffi.h.in rename : js/ctypes/libffi/include/ffi_common.h => js/src/ctypes/libffi/include/ffi_common.h rename : js/ctypes/libffi/install-sh => js/src/ctypes/libffi/install-sh rename : js/ctypes/libffi/libffi.pc.in => js/src/ctypes/libffi/libffi.pc.in rename : js/ctypes/libffi/libtool-version => js/src/ctypes/libffi/libtool-version rename : js/ctypes/libffi/ltmain.sh => js/src/ctypes/libffi/ltmain.sh rename : js/ctypes/libffi/m4/libtool.m4 => js/src/ctypes/libffi/m4/libtool.m4 rename : js/ctypes/libffi/m4/ltoptions.m4 => js/src/ctypes/libffi/m4/ltoptions.m4 rename : js/ctypes/libffi/m4/ltsugar.m4 => js/src/ctypes/libffi/m4/ltsugar.m4 rename : js/ctypes/libffi/m4/ltversion.m4 => js/src/ctypes/libffi/m4/ltversion.m4 rename : js/ctypes/libffi/m4/lt~obsolete.m4 => js/src/ctypes/libffi/m4/lt~obsolete.m4 rename : js/ctypes/libffi/man/Makefile.am => js/src/ctypes/libffi/man/Makefile.am rename : js/ctypes/libffi/man/Makefile.in => js/src/ctypes/libffi/man/Makefile.in rename : js/ctypes/libffi/man/ffi.3 => js/src/ctypes/libffi/man/ffi.3 rename : js/ctypes/libffi/man/ffi_call.3 => js/src/ctypes/libffi/man/ffi_call.3 rename : js/ctypes/libffi/man/ffi_prep_cif.3 => js/src/ctypes/libffi/man/ffi_prep_cif.3 rename : js/ctypes/libffi/mdate-sh => js/src/ctypes/libffi/mdate-sh rename : js/ctypes/libffi/missing => js/src/ctypes/libffi/missing rename : js/ctypes/libffi/msvcc.sh => js/src/ctypes/libffi/msvcc.sh rename : js/ctypes/libffi/src/alpha/ffi.c => js/src/ctypes/libffi/src/alpha/ffi.c rename : js/ctypes/libffi/src/alpha/ffitarget.h => js/src/ctypes/libffi/src/alpha/ffitarget.h rename : js/ctypes/libffi/src/alpha/osf.S => js/src/ctypes/libffi/src/alpha/osf.S rename : js/ctypes/libffi/src/arm/ffi.c => js/src/ctypes/libffi/src/arm/ffi.c rename : js/ctypes/libffi/src/arm/ffitarget.h => js/src/ctypes/libffi/src/arm/ffitarget.h rename : js/ctypes/libffi/src/arm/sysv.S => js/src/ctypes/libffi/src/arm/sysv.S rename : js/ctypes/libffi/src/avr32/ffi.c => js/src/ctypes/libffi/src/avr32/ffi.c rename : js/ctypes/libffi/src/avr32/ffitarget.h => js/src/ctypes/libffi/src/avr32/ffitarget.h rename : js/ctypes/libffi/src/avr32/sysv.S => js/src/ctypes/libffi/src/avr32/sysv.S rename : js/ctypes/libffi/src/closures.c => js/src/ctypes/libffi/src/closures.c rename : js/ctypes/libffi/src/cris/ffi.c => js/src/ctypes/libffi/src/cris/ffi.c rename : js/ctypes/libffi/src/cris/ffitarget.h => js/src/ctypes/libffi/src/cris/ffitarget.h rename : js/ctypes/libffi/src/cris/sysv.S => js/src/ctypes/libffi/src/cris/sysv.S rename : js/ctypes/libffi/src/debug.c => js/src/ctypes/libffi/src/debug.c rename : js/ctypes/libffi/src/dlmalloc.c => js/src/ctypes/libffi/src/dlmalloc.c rename : js/ctypes/libffi/src/frv/eabi.S => js/src/ctypes/libffi/src/frv/eabi.S rename : js/ctypes/libffi/src/frv/ffi.c => js/src/ctypes/libffi/src/frv/ffi.c rename : js/ctypes/libffi/src/frv/ffitarget.h => js/src/ctypes/libffi/src/frv/ffitarget.h rename : js/ctypes/libffi/src/ia64/ffi.c => js/src/ctypes/libffi/src/ia64/ffi.c rename : js/ctypes/libffi/src/ia64/ffitarget.h => js/src/ctypes/libffi/src/ia64/ffitarget.h rename : js/ctypes/libffi/src/ia64/ia64_flags.h => js/src/ctypes/libffi/src/ia64/ia64_flags.h rename : js/ctypes/libffi/src/ia64/unix.S => js/src/ctypes/libffi/src/ia64/unix.S rename : js/ctypes/libffi/src/java_raw_api.c => js/src/ctypes/libffi/src/java_raw_api.c rename : js/ctypes/libffi/src/m32r/ffi.c => js/src/ctypes/libffi/src/m32r/ffi.c rename : js/ctypes/libffi/src/m32r/ffitarget.h => js/src/ctypes/libffi/src/m32r/ffitarget.h rename : js/ctypes/libffi/src/m32r/sysv.S => js/src/ctypes/libffi/src/m32r/sysv.S rename : js/ctypes/libffi/src/m68k/ffi.c => js/src/ctypes/libffi/src/m68k/ffi.c rename : js/ctypes/libffi/src/m68k/ffitarget.h => js/src/ctypes/libffi/src/m68k/ffitarget.h rename : js/ctypes/libffi/src/m68k/sysv.S => js/src/ctypes/libffi/src/m68k/sysv.S rename : js/ctypes/libffi/src/mips/ffi.c => js/src/ctypes/libffi/src/mips/ffi.c rename : js/ctypes/libffi/src/mips/ffitarget.h => js/src/ctypes/libffi/src/mips/ffitarget.h rename : js/ctypes/libffi/src/mips/n32.S => js/src/ctypes/libffi/src/mips/n32.S rename : js/ctypes/libffi/src/mips/o32.S => js/src/ctypes/libffi/src/mips/o32.S rename : js/ctypes/libffi/src/moxie/eabi.S => js/src/ctypes/libffi/src/moxie/eabi.S rename : js/ctypes/libffi/src/moxie/ffi.c => js/src/ctypes/libffi/src/moxie/ffi.c rename : js/ctypes/libffi/src/moxie/ffitarget.h => js/src/ctypes/libffi/src/moxie/ffitarget.h rename : js/ctypes/libffi/src/pa/ffi.c => js/src/ctypes/libffi/src/pa/ffi.c rename : js/ctypes/libffi/src/pa/ffitarget.h => js/src/ctypes/libffi/src/pa/ffitarget.h rename : js/ctypes/libffi/src/pa/hpux32.S => js/src/ctypes/libffi/src/pa/hpux32.S rename : js/ctypes/libffi/src/pa/linux.S => js/src/ctypes/libffi/src/pa/linux.S rename : js/ctypes/libffi/src/powerpc/aix.S => js/src/ctypes/libffi/src/powerpc/aix.S rename : js/ctypes/libffi/src/powerpc/aix_closure.S => js/src/ctypes/libffi/src/powerpc/aix_closure.S rename : js/ctypes/libffi/src/powerpc/asm.h => js/src/ctypes/libffi/src/powerpc/asm.h rename : js/ctypes/libffi/src/powerpc/darwin.S => js/src/ctypes/libffi/src/powerpc/darwin.S rename : js/ctypes/libffi/src/powerpc/darwin_closure.S => js/src/ctypes/libffi/src/powerpc/darwin_closure.S rename : js/ctypes/libffi/src/powerpc/ffi.c => js/src/ctypes/libffi/src/powerpc/ffi.c rename : js/ctypes/libffi/src/powerpc/ffi_darwin.c => js/src/ctypes/libffi/src/powerpc/ffi_darwin.c rename : js/ctypes/libffi/src/powerpc/ffitarget.h => js/src/ctypes/libffi/src/powerpc/ffitarget.h rename : js/ctypes/libffi/src/powerpc/linux64.S => js/src/ctypes/libffi/src/powerpc/linux64.S rename : js/ctypes/libffi/src/powerpc/linux64_closure.S => js/src/ctypes/libffi/src/powerpc/linux64_closure.S rename : js/ctypes/libffi/src/powerpc/ppc_closure.S => js/src/ctypes/libffi/src/powerpc/ppc_closure.S rename : js/ctypes/libffi/src/powerpc/sysv.S => js/src/ctypes/libffi/src/powerpc/sysv.S rename : js/ctypes/libffi/src/prep_cif.c => js/src/ctypes/libffi/src/prep_cif.c rename : js/ctypes/libffi/src/raw_api.c => js/src/ctypes/libffi/src/raw_api.c rename : js/ctypes/libffi/src/s390/ffi.c => js/src/ctypes/libffi/src/s390/ffi.c rename : js/ctypes/libffi/src/s390/ffitarget.h => js/src/ctypes/libffi/src/s390/ffitarget.h rename : js/ctypes/libffi/src/s390/sysv.S => js/src/ctypes/libffi/src/s390/sysv.S rename : js/ctypes/libffi/src/sh/ffi.c => js/src/ctypes/libffi/src/sh/ffi.c rename : js/ctypes/libffi/src/sh/ffitarget.h => js/src/ctypes/libffi/src/sh/ffitarget.h rename : js/ctypes/libffi/src/sh/sysv.S => js/src/ctypes/libffi/src/sh/sysv.S rename : js/ctypes/libffi/src/sh64/ffi.c => js/src/ctypes/libffi/src/sh64/ffi.c rename : js/ctypes/libffi/src/sh64/ffitarget.h => js/src/ctypes/libffi/src/sh64/ffitarget.h rename : js/ctypes/libffi/src/sh64/sysv.S => js/src/ctypes/libffi/src/sh64/sysv.S rename : js/ctypes/libffi/src/sparc/ffi.c => js/src/ctypes/libffi/src/sparc/ffi.c rename : js/ctypes/libffi/src/sparc/ffitarget.h => js/src/ctypes/libffi/src/sparc/ffitarget.h rename : js/ctypes/libffi/src/sparc/v8.S => js/src/ctypes/libffi/src/sparc/v8.S rename : js/ctypes/libffi/src/sparc/v9.S => js/src/ctypes/libffi/src/sparc/v9.S rename : js/ctypes/libffi/src/types.c => js/src/ctypes/libffi/src/types.c rename : js/ctypes/libffi/src/x86/darwin.S => js/src/ctypes/libffi/src/x86/darwin.S rename : js/ctypes/libffi/src/x86/darwin64.S => js/src/ctypes/libffi/src/x86/darwin64.S rename : js/ctypes/libffi/src/x86/ffi.c => js/src/ctypes/libffi/src/x86/ffi.c rename : js/ctypes/libffi/src/x86/ffi64.c => js/src/ctypes/libffi/src/x86/ffi64.c rename : js/ctypes/libffi/src/x86/ffitarget.h => js/src/ctypes/libffi/src/x86/ffitarget.h rename : js/ctypes/libffi/src/x86/freebsd.S => js/src/ctypes/libffi/src/x86/freebsd.S rename : js/ctypes/libffi/src/x86/sysv.S => js/src/ctypes/libffi/src/x86/sysv.S rename : js/ctypes/libffi/src/x86/unix64.S => js/src/ctypes/libffi/src/x86/unix64.S rename : js/ctypes/libffi/src/x86/win32.S => js/src/ctypes/libffi/src/x86/win32.S rename : js/ctypes/libffi/src/x86/win64.S => js/src/ctypes/libffi/src/x86/win64.S rename : js/ctypes/libffi/testsuite/Makefile.am => js/src/ctypes/libffi/testsuite/Makefile.am rename : js/ctypes/libffi/testsuite/Makefile.in => js/src/ctypes/libffi/testsuite/Makefile.in rename : js/ctypes/libffi/testsuite/config/default.exp => js/src/ctypes/libffi/testsuite/config/default.exp rename : js/ctypes/libffi/testsuite/lib/libffi-dg.exp => js/src/ctypes/libffi/testsuite/lib/libffi-dg.exp rename : js/ctypes/libffi/testsuite/lib/target-libpath.exp => js/src/ctypes/libffi/testsuite/lib/target-libpath.exp rename : js/ctypes/libffi/testsuite/lib/wrapper.exp => js/src/ctypes/libffi/testsuite/lib/wrapper.exp rename : js/ctypes/libffi/testsuite/libffi.call/call.exp => js/src/ctypes/libffi/testsuite/libffi.call/call.exp rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn1.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn1.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn2.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn2.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn3.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn3.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn4.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn4.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn5.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn5.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn6.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn6.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_12byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_12byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_16byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_16byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_18byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_18byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_19byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_19byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_24byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_24byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_2byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_2byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_64byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_64byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_8byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_8byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c rename : js/ctypes/libffi/testsuite/libffi.call/ffitest.h => js/src/ctypes/libffi/testsuite/libffi.call/ffitest.h rename : js/ctypes/libffi/testsuite/libffi.call/float.c => js/src/ctypes/libffi/testsuite/libffi.call/float.c rename : js/ctypes/libffi/testsuite/libffi.call/float1.c => js/src/ctypes/libffi/testsuite/libffi.call/float1.c rename : js/ctypes/libffi/testsuite/libffi.call/float2.c => js/src/ctypes/libffi/testsuite/libffi.call/float2.c rename : js/ctypes/libffi/testsuite/libffi.call/float3.c => js/src/ctypes/libffi/testsuite/libffi.call/float3.c rename : js/ctypes/libffi/testsuite/libffi.call/float4.c => js/src/ctypes/libffi/testsuite/libffi.call/float4.c rename : js/ctypes/libffi/testsuite/libffi.call/huge_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/huge_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/many.c => js/src/ctypes/libffi/testsuite/libffi.call/many.c rename : js/ctypes/libffi/testsuite/libffi.call/many_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/many_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/negint.c => js/src/ctypes/libffi/testsuite/libffi.call/negint.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct10.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct10.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/problem1.c => js/src/ctypes/libffi/testsuite/libffi.call/problem1.c rename : js/ctypes/libffi/testsuite/libffi.call/promotion.c => js/src/ctypes/libffi/testsuite/libffi.call/promotion.c rename : js/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c => js/src/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl3.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl3.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ldl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ldl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_uc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_uc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ul.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ul.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large2.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium2.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/testclosure.c => js/src/ctypes/libffi/testsuite/libffi.call/testclosure.c rename : js/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h => js/src/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h rename : js/ctypes/libffi/testsuite/libffi.special/special.exp => js/src/ctypes/libffi/testsuite/libffi.special/special.exp rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest.cc rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc rename : js/ctypes/libffi/texinfo.tex => js/src/ctypes/libffi/texinfo.tex rename : js/ctypes/typedefs.h => js/src/ctypes/typedefs.h
2010-04-02 12:02:17 -07:00
# Use a separate cache file for libffi, since it does things differently
# from our configure.
mkdir -p $_objdir/ctypes/libffi
Bug 538324 - Move ctypes into js/src. Part 1: Move ctypes into js/src/ctypes. r=sayrer --HG-- rename : js/ctypes/CTypes.cpp => js/src/ctypes/CTypes.cpp rename : js/ctypes/CTypes.h => js/src/ctypes/CTypes.h rename : js/ctypes/Library.cpp => js/src/ctypes/Library.cpp rename : js/ctypes/Library.h => js/src/ctypes/Library.h rename : js/ctypes/ctypes.msg => js/src/ctypes/ctypes.msg rename : js/ctypes/libffi.patch => js/src/ctypes/libffi.patch rename : js/ctypes/libffi/ChangeLog => js/src/ctypes/libffi/ChangeLog rename : js/ctypes/libffi/ChangeLog.libffi => js/src/ctypes/libffi/ChangeLog.libffi rename : js/ctypes/libffi/ChangeLog.libgcj => js/src/ctypes/libffi/ChangeLog.libgcj rename : js/ctypes/libffi/ChangeLog.v1 => js/src/ctypes/libffi/ChangeLog.v1 rename : js/ctypes/libffi/LICENSE => js/src/ctypes/libffi/LICENSE rename : js/ctypes/libffi/Makefile.am => js/src/ctypes/libffi/Makefile.am rename : js/ctypes/libffi/Makefile.in => js/src/ctypes/libffi/Makefile.in rename : js/ctypes/libffi/README => js/src/ctypes/libffi/README rename : js/ctypes/libffi/acinclude.m4 => js/src/ctypes/libffi/acinclude.m4 rename : js/ctypes/libffi/aclocal.m4 => js/src/ctypes/libffi/aclocal.m4 rename : js/ctypes/libffi/compile => js/src/ctypes/libffi/compile rename : js/ctypes/libffi/config.guess => js/src/ctypes/libffi/config.guess rename : js/ctypes/libffi/config.sub => js/src/ctypes/libffi/config.sub rename : js/ctypes/libffi/configure => js/src/ctypes/libffi/configure rename : js/ctypes/libffi/configure.ac => js/src/ctypes/libffi/configure.ac rename : js/ctypes/libffi/configure.host => js/src/ctypes/libffi/configure.host rename : js/ctypes/libffi/depcomp => js/src/ctypes/libffi/depcomp rename : js/ctypes/libffi/doc/libffi.info => js/src/ctypes/libffi/doc/libffi.info rename : js/ctypes/libffi/doc/libffi.texi => js/src/ctypes/libffi/doc/libffi.texi rename : js/ctypes/libffi/doc/stamp-vti => js/src/ctypes/libffi/doc/stamp-vti rename : js/ctypes/libffi/doc/version.texi => js/src/ctypes/libffi/doc/version.texi rename : js/ctypes/libffi/fficonfig.h.in => js/src/ctypes/libffi/fficonfig.h.in rename : js/ctypes/libffi/include/Makefile.am => js/src/ctypes/libffi/include/Makefile.am rename : js/ctypes/libffi/include/Makefile.in => js/src/ctypes/libffi/include/Makefile.in rename : js/ctypes/libffi/include/ffi.h.in => js/src/ctypes/libffi/include/ffi.h.in rename : js/ctypes/libffi/include/ffi_common.h => js/src/ctypes/libffi/include/ffi_common.h rename : js/ctypes/libffi/install-sh => js/src/ctypes/libffi/install-sh rename : js/ctypes/libffi/libffi.pc.in => js/src/ctypes/libffi/libffi.pc.in rename : js/ctypes/libffi/libtool-version => js/src/ctypes/libffi/libtool-version rename : js/ctypes/libffi/ltmain.sh => js/src/ctypes/libffi/ltmain.sh rename : js/ctypes/libffi/m4/libtool.m4 => js/src/ctypes/libffi/m4/libtool.m4 rename : js/ctypes/libffi/m4/ltoptions.m4 => js/src/ctypes/libffi/m4/ltoptions.m4 rename : js/ctypes/libffi/m4/ltsugar.m4 => js/src/ctypes/libffi/m4/ltsugar.m4 rename : js/ctypes/libffi/m4/ltversion.m4 => js/src/ctypes/libffi/m4/ltversion.m4 rename : js/ctypes/libffi/m4/lt~obsolete.m4 => js/src/ctypes/libffi/m4/lt~obsolete.m4 rename : js/ctypes/libffi/man/Makefile.am => js/src/ctypes/libffi/man/Makefile.am rename : js/ctypes/libffi/man/Makefile.in => js/src/ctypes/libffi/man/Makefile.in rename : js/ctypes/libffi/man/ffi.3 => js/src/ctypes/libffi/man/ffi.3 rename : js/ctypes/libffi/man/ffi_call.3 => js/src/ctypes/libffi/man/ffi_call.3 rename : js/ctypes/libffi/man/ffi_prep_cif.3 => js/src/ctypes/libffi/man/ffi_prep_cif.3 rename : js/ctypes/libffi/mdate-sh => js/src/ctypes/libffi/mdate-sh rename : js/ctypes/libffi/missing => js/src/ctypes/libffi/missing rename : js/ctypes/libffi/msvcc.sh => js/src/ctypes/libffi/msvcc.sh rename : js/ctypes/libffi/src/alpha/ffi.c => js/src/ctypes/libffi/src/alpha/ffi.c rename : js/ctypes/libffi/src/alpha/ffitarget.h => js/src/ctypes/libffi/src/alpha/ffitarget.h rename : js/ctypes/libffi/src/alpha/osf.S => js/src/ctypes/libffi/src/alpha/osf.S rename : js/ctypes/libffi/src/arm/ffi.c => js/src/ctypes/libffi/src/arm/ffi.c rename : js/ctypes/libffi/src/arm/ffitarget.h => js/src/ctypes/libffi/src/arm/ffitarget.h rename : js/ctypes/libffi/src/arm/sysv.S => js/src/ctypes/libffi/src/arm/sysv.S rename : js/ctypes/libffi/src/avr32/ffi.c => js/src/ctypes/libffi/src/avr32/ffi.c rename : js/ctypes/libffi/src/avr32/ffitarget.h => js/src/ctypes/libffi/src/avr32/ffitarget.h rename : js/ctypes/libffi/src/avr32/sysv.S => js/src/ctypes/libffi/src/avr32/sysv.S rename : js/ctypes/libffi/src/closures.c => js/src/ctypes/libffi/src/closures.c rename : js/ctypes/libffi/src/cris/ffi.c => js/src/ctypes/libffi/src/cris/ffi.c rename : js/ctypes/libffi/src/cris/ffitarget.h => js/src/ctypes/libffi/src/cris/ffitarget.h rename : js/ctypes/libffi/src/cris/sysv.S => js/src/ctypes/libffi/src/cris/sysv.S rename : js/ctypes/libffi/src/debug.c => js/src/ctypes/libffi/src/debug.c rename : js/ctypes/libffi/src/dlmalloc.c => js/src/ctypes/libffi/src/dlmalloc.c rename : js/ctypes/libffi/src/frv/eabi.S => js/src/ctypes/libffi/src/frv/eabi.S rename : js/ctypes/libffi/src/frv/ffi.c => js/src/ctypes/libffi/src/frv/ffi.c rename : js/ctypes/libffi/src/frv/ffitarget.h => js/src/ctypes/libffi/src/frv/ffitarget.h rename : js/ctypes/libffi/src/ia64/ffi.c => js/src/ctypes/libffi/src/ia64/ffi.c rename : js/ctypes/libffi/src/ia64/ffitarget.h => js/src/ctypes/libffi/src/ia64/ffitarget.h rename : js/ctypes/libffi/src/ia64/ia64_flags.h => js/src/ctypes/libffi/src/ia64/ia64_flags.h rename : js/ctypes/libffi/src/ia64/unix.S => js/src/ctypes/libffi/src/ia64/unix.S rename : js/ctypes/libffi/src/java_raw_api.c => js/src/ctypes/libffi/src/java_raw_api.c rename : js/ctypes/libffi/src/m32r/ffi.c => js/src/ctypes/libffi/src/m32r/ffi.c rename : js/ctypes/libffi/src/m32r/ffitarget.h => js/src/ctypes/libffi/src/m32r/ffitarget.h rename : js/ctypes/libffi/src/m32r/sysv.S => js/src/ctypes/libffi/src/m32r/sysv.S rename : js/ctypes/libffi/src/m68k/ffi.c => js/src/ctypes/libffi/src/m68k/ffi.c rename : js/ctypes/libffi/src/m68k/ffitarget.h => js/src/ctypes/libffi/src/m68k/ffitarget.h rename : js/ctypes/libffi/src/m68k/sysv.S => js/src/ctypes/libffi/src/m68k/sysv.S rename : js/ctypes/libffi/src/mips/ffi.c => js/src/ctypes/libffi/src/mips/ffi.c rename : js/ctypes/libffi/src/mips/ffitarget.h => js/src/ctypes/libffi/src/mips/ffitarget.h rename : js/ctypes/libffi/src/mips/n32.S => js/src/ctypes/libffi/src/mips/n32.S rename : js/ctypes/libffi/src/mips/o32.S => js/src/ctypes/libffi/src/mips/o32.S rename : js/ctypes/libffi/src/moxie/eabi.S => js/src/ctypes/libffi/src/moxie/eabi.S rename : js/ctypes/libffi/src/moxie/ffi.c => js/src/ctypes/libffi/src/moxie/ffi.c rename : js/ctypes/libffi/src/moxie/ffitarget.h => js/src/ctypes/libffi/src/moxie/ffitarget.h rename : js/ctypes/libffi/src/pa/ffi.c => js/src/ctypes/libffi/src/pa/ffi.c rename : js/ctypes/libffi/src/pa/ffitarget.h => js/src/ctypes/libffi/src/pa/ffitarget.h rename : js/ctypes/libffi/src/pa/hpux32.S => js/src/ctypes/libffi/src/pa/hpux32.S rename : js/ctypes/libffi/src/pa/linux.S => js/src/ctypes/libffi/src/pa/linux.S rename : js/ctypes/libffi/src/powerpc/aix.S => js/src/ctypes/libffi/src/powerpc/aix.S rename : js/ctypes/libffi/src/powerpc/aix_closure.S => js/src/ctypes/libffi/src/powerpc/aix_closure.S rename : js/ctypes/libffi/src/powerpc/asm.h => js/src/ctypes/libffi/src/powerpc/asm.h rename : js/ctypes/libffi/src/powerpc/darwin.S => js/src/ctypes/libffi/src/powerpc/darwin.S rename : js/ctypes/libffi/src/powerpc/darwin_closure.S => js/src/ctypes/libffi/src/powerpc/darwin_closure.S rename : js/ctypes/libffi/src/powerpc/ffi.c => js/src/ctypes/libffi/src/powerpc/ffi.c rename : js/ctypes/libffi/src/powerpc/ffi_darwin.c => js/src/ctypes/libffi/src/powerpc/ffi_darwin.c rename : js/ctypes/libffi/src/powerpc/ffitarget.h => js/src/ctypes/libffi/src/powerpc/ffitarget.h rename : js/ctypes/libffi/src/powerpc/linux64.S => js/src/ctypes/libffi/src/powerpc/linux64.S rename : js/ctypes/libffi/src/powerpc/linux64_closure.S => js/src/ctypes/libffi/src/powerpc/linux64_closure.S rename : js/ctypes/libffi/src/powerpc/ppc_closure.S => js/src/ctypes/libffi/src/powerpc/ppc_closure.S rename : js/ctypes/libffi/src/powerpc/sysv.S => js/src/ctypes/libffi/src/powerpc/sysv.S rename : js/ctypes/libffi/src/prep_cif.c => js/src/ctypes/libffi/src/prep_cif.c rename : js/ctypes/libffi/src/raw_api.c => js/src/ctypes/libffi/src/raw_api.c rename : js/ctypes/libffi/src/s390/ffi.c => js/src/ctypes/libffi/src/s390/ffi.c rename : js/ctypes/libffi/src/s390/ffitarget.h => js/src/ctypes/libffi/src/s390/ffitarget.h rename : js/ctypes/libffi/src/s390/sysv.S => js/src/ctypes/libffi/src/s390/sysv.S rename : js/ctypes/libffi/src/sh/ffi.c => js/src/ctypes/libffi/src/sh/ffi.c rename : js/ctypes/libffi/src/sh/ffitarget.h => js/src/ctypes/libffi/src/sh/ffitarget.h rename : js/ctypes/libffi/src/sh/sysv.S => js/src/ctypes/libffi/src/sh/sysv.S rename : js/ctypes/libffi/src/sh64/ffi.c => js/src/ctypes/libffi/src/sh64/ffi.c rename : js/ctypes/libffi/src/sh64/ffitarget.h => js/src/ctypes/libffi/src/sh64/ffitarget.h rename : js/ctypes/libffi/src/sh64/sysv.S => js/src/ctypes/libffi/src/sh64/sysv.S rename : js/ctypes/libffi/src/sparc/ffi.c => js/src/ctypes/libffi/src/sparc/ffi.c rename : js/ctypes/libffi/src/sparc/ffitarget.h => js/src/ctypes/libffi/src/sparc/ffitarget.h rename : js/ctypes/libffi/src/sparc/v8.S => js/src/ctypes/libffi/src/sparc/v8.S rename : js/ctypes/libffi/src/sparc/v9.S => js/src/ctypes/libffi/src/sparc/v9.S rename : js/ctypes/libffi/src/types.c => js/src/ctypes/libffi/src/types.c rename : js/ctypes/libffi/src/x86/darwin.S => js/src/ctypes/libffi/src/x86/darwin.S rename : js/ctypes/libffi/src/x86/darwin64.S => js/src/ctypes/libffi/src/x86/darwin64.S rename : js/ctypes/libffi/src/x86/ffi.c => js/src/ctypes/libffi/src/x86/ffi.c rename : js/ctypes/libffi/src/x86/ffi64.c => js/src/ctypes/libffi/src/x86/ffi64.c rename : js/ctypes/libffi/src/x86/ffitarget.h => js/src/ctypes/libffi/src/x86/ffitarget.h rename : js/ctypes/libffi/src/x86/freebsd.S => js/src/ctypes/libffi/src/x86/freebsd.S rename : js/ctypes/libffi/src/x86/sysv.S => js/src/ctypes/libffi/src/x86/sysv.S rename : js/ctypes/libffi/src/x86/unix64.S => js/src/ctypes/libffi/src/x86/unix64.S rename : js/ctypes/libffi/src/x86/win32.S => js/src/ctypes/libffi/src/x86/win32.S rename : js/ctypes/libffi/src/x86/win64.S => js/src/ctypes/libffi/src/x86/win64.S rename : js/ctypes/libffi/testsuite/Makefile.am => js/src/ctypes/libffi/testsuite/Makefile.am rename : js/ctypes/libffi/testsuite/Makefile.in => js/src/ctypes/libffi/testsuite/Makefile.in rename : js/ctypes/libffi/testsuite/config/default.exp => js/src/ctypes/libffi/testsuite/config/default.exp rename : js/ctypes/libffi/testsuite/lib/libffi-dg.exp => js/src/ctypes/libffi/testsuite/lib/libffi-dg.exp rename : js/ctypes/libffi/testsuite/lib/target-libpath.exp => js/src/ctypes/libffi/testsuite/lib/target-libpath.exp rename : js/ctypes/libffi/testsuite/lib/wrapper.exp => js/src/ctypes/libffi/testsuite/lib/wrapper.exp rename : js/ctypes/libffi/testsuite/libffi.call/call.exp => js/src/ctypes/libffi/testsuite/libffi.call/call.exp rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn1.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn1.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn2.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn2.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn3.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn3.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn4.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn4.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn5.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn5.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn6.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn6.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_12byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_12byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_16byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_16byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_18byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_18byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_19byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_19byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_24byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_24byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_2byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_2byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_64byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_64byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_8byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_8byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c rename : js/ctypes/libffi/testsuite/libffi.call/ffitest.h => js/src/ctypes/libffi/testsuite/libffi.call/ffitest.h rename : js/ctypes/libffi/testsuite/libffi.call/float.c => js/src/ctypes/libffi/testsuite/libffi.call/float.c rename : js/ctypes/libffi/testsuite/libffi.call/float1.c => js/src/ctypes/libffi/testsuite/libffi.call/float1.c rename : js/ctypes/libffi/testsuite/libffi.call/float2.c => js/src/ctypes/libffi/testsuite/libffi.call/float2.c rename : js/ctypes/libffi/testsuite/libffi.call/float3.c => js/src/ctypes/libffi/testsuite/libffi.call/float3.c rename : js/ctypes/libffi/testsuite/libffi.call/float4.c => js/src/ctypes/libffi/testsuite/libffi.call/float4.c rename : js/ctypes/libffi/testsuite/libffi.call/huge_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/huge_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/many.c => js/src/ctypes/libffi/testsuite/libffi.call/many.c rename : js/ctypes/libffi/testsuite/libffi.call/many_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/many_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/negint.c => js/src/ctypes/libffi/testsuite/libffi.call/negint.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct10.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct10.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/problem1.c => js/src/ctypes/libffi/testsuite/libffi.call/problem1.c rename : js/ctypes/libffi/testsuite/libffi.call/promotion.c => js/src/ctypes/libffi/testsuite/libffi.call/promotion.c rename : js/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c => js/src/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl3.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl3.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ldl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ldl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_uc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_uc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ul.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ul.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large2.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium2.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/testclosure.c => js/src/ctypes/libffi/testsuite/libffi.call/testclosure.c rename : js/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h => js/src/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h rename : js/ctypes/libffi/testsuite/libffi.special/special.exp => js/src/ctypes/libffi/testsuite/libffi.special/special.exp rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest.cc rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc rename : js/ctypes/libffi/texinfo.tex => js/src/ctypes/libffi/texinfo.tex rename : js/ctypes/typedefs.h => js/src/ctypes/typedefs.h
2010-04-02 12:02:17 -07:00
old_cache_file=$cache_file
cache_file=$_objdir/ctypes/libffi/config.cache
Bug 538324 - Move ctypes into js/src. Part 1: Move ctypes into js/src/ctypes. r=sayrer --HG-- rename : js/ctypes/CTypes.cpp => js/src/ctypes/CTypes.cpp rename : js/ctypes/CTypes.h => js/src/ctypes/CTypes.h rename : js/ctypes/Library.cpp => js/src/ctypes/Library.cpp rename : js/ctypes/Library.h => js/src/ctypes/Library.h rename : js/ctypes/ctypes.msg => js/src/ctypes/ctypes.msg rename : js/ctypes/libffi.patch => js/src/ctypes/libffi.patch rename : js/ctypes/libffi/ChangeLog => js/src/ctypes/libffi/ChangeLog rename : js/ctypes/libffi/ChangeLog.libffi => js/src/ctypes/libffi/ChangeLog.libffi rename : js/ctypes/libffi/ChangeLog.libgcj => js/src/ctypes/libffi/ChangeLog.libgcj rename : js/ctypes/libffi/ChangeLog.v1 => js/src/ctypes/libffi/ChangeLog.v1 rename : js/ctypes/libffi/LICENSE => js/src/ctypes/libffi/LICENSE rename : js/ctypes/libffi/Makefile.am => js/src/ctypes/libffi/Makefile.am rename : js/ctypes/libffi/Makefile.in => js/src/ctypes/libffi/Makefile.in rename : js/ctypes/libffi/README => js/src/ctypes/libffi/README rename : js/ctypes/libffi/acinclude.m4 => js/src/ctypes/libffi/acinclude.m4 rename : js/ctypes/libffi/aclocal.m4 => js/src/ctypes/libffi/aclocal.m4 rename : js/ctypes/libffi/compile => js/src/ctypes/libffi/compile rename : js/ctypes/libffi/config.guess => js/src/ctypes/libffi/config.guess rename : js/ctypes/libffi/config.sub => js/src/ctypes/libffi/config.sub rename : js/ctypes/libffi/configure => js/src/ctypes/libffi/configure rename : js/ctypes/libffi/configure.ac => js/src/ctypes/libffi/configure.ac rename : js/ctypes/libffi/configure.host => js/src/ctypes/libffi/configure.host rename : js/ctypes/libffi/depcomp => js/src/ctypes/libffi/depcomp rename : js/ctypes/libffi/doc/libffi.info => js/src/ctypes/libffi/doc/libffi.info rename : js/ctypes/libffi/doc/libffi.texi => js/src/ctypes/libffi/doc/libffi.texi rename : js/ctypes/libffi/doc/stamp-vti => js/src/ctypes/libffi/doc/stamp-vti rename : js/ctypes/libffi/doc/version.texi => js/src/ctypes/libffi/doc/version.texi rename : js/ctypes/libffi/fficonfig.h.in => js/src/ctypes/libffi/fficonfig.h.in rename : js/ctypes/libffi/include/Makefile.am => js/src/ctypes/libffi/include/Makefile.am rename : js/ctypes/libffi/include/Makefile.in => js/src/ctypes/libffi/include/Makefile.in rename : js/ctypes/libffi/include/ffi.h.in => js/src/ctypes/libffi/include/ffi.h.in rename : js/ctypes/libffi/include/ffi_common.h => js/src/ctypes/libffi/include/ffi_common.h rename : js/ctypes/libffi/install-sh => js/src/ctypes/libffi/install-sh rename : js/ctypes/libffi/libffi.pc.in => js/src/ctypes/libffi/libffi.pc.in rename : js/ctypes/libffi/libtool-version => js/src/ctypes/libffi/libtool-version rename : js/ctypes/libffi/ltmain.sh => js/src/ctypes/libffi/ltmain.sh rename : js/ctypes/libffi/m4/libtool.m4 => js/src/ctypes/libffi/m4/libtool.m4 rename : js/ctypes/libffi/m4/ltoptions.m4 => js/src/ctypes/libffi/m4/ltoptions.m4 rename : js/ctypes/libffi/m4/ltsugar.m4 => js/src/ctypes/libffi/m4/ltsugar.m4 rename : js/ctypes/libffi/m4/ltversion.m4 => js/src/ctypes/libffi/m4/ltversion.m4 rename : js/ctypes/libffi/m4/lt~obsolete.m4 => js/src/ctypes/libffi/m4/lt~obsolete.m4 rename : js/ctypes/libffi/man/Makefile.am => js/src/ctypes/libffi/man/Makefile.am rename : js/ctypes/libffi/man/Makefile.in => js/src/ctypes/libffi/man/Makefile.in rename : js/ctypes/libffi/man/ffi.3 => js/src/ctypes/libffi/man/ffi.3 rename : js/ctypes/libffi/man/ffi_call.3 => js/src/ctypes/libffi/man/ffi_call.3 rename : js/ctypes/libffi/man/ffi_prep_cif.3 => js/src/ctypes/libffi/man/ffi_prep_cif.3 rename : js/ctypes/libffi/mdate-sh => js/src/ctypes/libffi/mdate-sh rename : js/ctypes/libffi/missing => js/src/ctypes/libffi/missing rename : js/ctypes/libffi/msvcc.sh => js/src/ctypes/libffi/msvcc.sh rename : js/ctypes/libffi/src/alpha/ffi.c => js/src/ctypes/libffi/src/alpha/ffi.c rename : js/ctypes/libffi/src/alpha/ffitarget.h => js/src/ctypes/libffi/src/alpha/ffitarget.h rename : js/ctypes/libffi/src/alpha/osf.S => js/src/ctypes/libffi/src/alpha/osf.S rename : js/ctypes/libffi/src/arm/ffi.c => js/src/ctypes/libffi/src/arm/ffi.c rename : js/ctypes/libffi/src/arm/ffitarget.h => js/src/ctypes/libffi/src/arm/ffitarget.h rename : js/ctypes/libffi/src/arm/sysv.S => js/src/ctypes/libffi/src/arm/sysv.S rename : js/ctypes/libffi/src/avr32/ffi.c => js/src/ctypes/libffi/src/avr32/ffi.c rename : js/ctypes/libffi/src/avr32/ffitarget.h => js/src/ctypes/libffi/src/avr32/ffitarget.h rename : js/ctypes/libffi/src/avr32/sysv.S => js/src/ctypes/libffi/src/avr32/sysv.S rename : js/ctypes/libffi/src/closures.c => js/src/ctypes/libffi/src/closures.c rename : js/ctypes/libffi/src/cris/ffi.c => js/src/ctypes/libffi/src/cris/ffi.c rename : js/ctypes/libffi/src/cris/ffitarget.h => js/src/ctypes/libffi/src/cris/ffitarget.h rename : js/ctypes/libffi/src/cris/sysv.S => js/src/ctypes/libffi/src/cris/sysv.S rename : js/ctypes/libffi/src/debug.c => js/src/ctypes/libffi/src/debug.c rename : js/ctypes/libffi/src/dlmalloc.c => js/src/ctypes/libffi/src/dlmalloc.c rename : js/ctypes/libffi/src/frv/eabi.S => js/src/ctypes/libffi/src/frv/eabi.S rename : js/ctypes/libffi/src/frv/ffi.c => js/src/ctypes/libffi/src/frv/ffi.c rename : js/ctypes/libffi/src/frv/ffitarget.h => js/src/ctypes/libffi/src/frv/ffitarget.h rename : js/ctypes/libffi/src/ia64/ffi.c => js/src/ctypes/libffi/src/ia64/ffi.c rename : js/ctypes/libffi/src/ia64/ffitarget.h => js/src/ctypes/libffi/src/ia64/ffitarget.h rename : js/ctypes/libffi/src/ia64/ia64_flags.h => js/src/ctypes/libffi/src/ia64/ia64_flags.h rename : js/ctypes/libffi/src/ia64/unix.S => js/src/ctypes/libffi/src/ia64/unix.S rename : js/ctypes/libffi/src/java_raw_api.c => js/src/ctypes/libffi/src/java_raw_api.c rename : js/ctypes/libffi/src/m32r/ffi.c => js/src/ctypes/libffi/src/m32r/ffi.c rename : js/ctypes/libffi/src/m32r/ffitarget.h => js/src/ctypes/libffi/src/m32r/ffitarget.h rename : js/ctypes/libffi/src/m32r/sysv.S => js/src/ctypes/libffi/src/m32r/sysv.S rename : js/ctypes/libffi/src/m68k/ffi.c => js/src/ctypes/libffi/src/m68k/ffi.c rename : js/ctypes/libffi/src/m68k/ffitarget.h => js/src/ctypes/libffi/src/m68k/ffitarget.h rename : js/ctypes/libffi/src/m68k/sysv.S => js/src/ctypes/libffi/src/m68k/sysv.S rename : js/ctypes/libffi/src/mips/ffi.c => js/src/ctypes/libffi/src/mips/ffi.c rename : js/ctypes/libffi/src/mips/ffitarget.h => js/src/ctypes/libffi/src/mips/ffitarget.h rename : js/ctypes/libffi/src/mips/n32.S => js/src/ctypes/libffi/src/mips/n32.S rename : js/ctypes/libffi/src/mips/o32.S => js/src/ctypes/libffi/src/mips/o32.S rename : js/ctypes/libffi/src/moxie/eabi.S => js/src/ctypes/libffi/src/moxie/eabi.S rename : js/ctypes/libffi/src/moxie/ffi.c => js/src/ctypes/libffi/src/moxie/ffi.c rename : js/ctypes/libffi/src/moxie/ffitarget.h => js/src/ctypes/libffi/src/moxie/ffitarget.h rename : js/ctypes/libffi/src/pa/ffi.c => js/src/ctypes/libffi/src/pa/ffi.c rename : js/ctypes/libffi/src/pa/ffitarget.h => js/src/ctypes/libffi/src/pa/ffitarget.h rename : js/ctypes/libffi/src/pa/hpux32.S => js/src/ctypes/libffi/src/pa/hpux32.S rename : js/ctypes/libffi/src/pa/linux.S => js/src/ctypes/libffi/src/pa/linux.S rename : js/ctypes/libffi/src/powerpc/aix.S => js/src/ctypes/libffi/src/powerpc/aix.S rename : js/ctypes/libffi/src/powerpc/aix_closure.S => js/src/ctypes/libffi/src/powerpc/aix_closure.S rename : js/ctypes/libffi/src/powerpc/asm.h => js/src/ctypes/libffi/src/powerpc/asm.h rename : js/ctypes/libffi/src/powerpc/darwin.S => js/src/ctypes/libffi/src/powerpc/darwin.S rename : js/ctypes/libffi/src/powerpc/darwin_closure.S => js/src/ctypes/libffi/src/powerpc/darwin_closure.S rename : js/ctypes/libffi/src/powerpc/ffi.c => js/src/ctypes/libffi/src/powerpc/ffi.c rename : js/ctypes/libffi/src/powerpc/ffi_darwin.c => js/src/ctypes/libffi/src/powerpc/ffi_darwin.c rename : js/ctypes/libffi/src/powerpc/ffitarget.h => js/src/ctypes/libffi/src/powerpc/ffitarget.h rename : js/ctypes/libffi/src/powerpc/linux64.S => js/src/ctypes/libffi/src/powerpc/linux64.S rename : js/ctypes/libffi/src/powerpc/linux64_closure.S => js/src/ctypes/libffi/src/powerpc/linux64_closure.S rename : js/ctypes/libffi/src/powerpc/ppc_closure.S => js/src/ctypes/libffi/src/powerpc/ppc_closure.S rename : js/ctypes/libffi/src/powerpc/sysv.S => js/src/ctypes/libffi/src/powerpc/sysv.S rename : js/ctypes/libffi/src/prep_cif.c => js/src/ctypes/libffi/src/prep_cif.c rename : js/ctypes/libffi/src/raw_api.c => js/src/ctypes/libffi/src/raw_api.c rename : js/ctypes/libffi/src/s390/ffi.c => js/src/ctypes/libffi/src/s390/ffi.c rename : js/ctypes/libffi/src/s390/ffitarget.h => js/src/ctypes/libffi/src/s390/ffitarget.h rename : js/ctypes/libffi/src/s390/sysv.S => js/src/ctypes/libffi/src/s390/sysv.S rename : js/ctypes/libffi/src/sh/ffi.c => js/src/ctypes/libffi/src/sh/ffi.c rename : js/ctypes/libffi/src/sh/ffitarget.h => js/src/ctypes/libffi/src/sh/ffitarget.h rename : js/ctypes/libffi/src/sh/sysv.S => js/src/ctypes/libffi/src/sh/sysv.S rename : js/ctypes/libffi/src/sh64/ffi.c => js/src/ctypes/libffi/src/sh64/ffi.c rename : js/ctypes/libffi/src/sh64/ffitarget.h => js/src/ctypes/libffi/src/sh64/ffitarget.h rename : js/ctypes/libffi/src/sh64/sysv.S => js/src/ctypes/libffi/src/sh64/sysv.S rename : js/ctypes/libffi/src/sparc/ffi.c => js/src/ctypes/libffi/src/sparc/ffi.c rename : js/ctypes/libffi/src/sparc/ffitarget.h => js/src/ctypes/libffi/src/sparc/ffitarget.h rename : js/ctypes/libffi/src/sparc/v8.S => js/src/ctypes/libffi/src/sparc/v8.S rename : js/ctypes/libffi/src/sparc/v9.S => js/src/ctypes/libffi/src/sparc/v9.S rename : js/ctypes/libffi/src/types.c => js/src/ctypes/libffi/src/types.c rename : js/ctypes/libffi/src/x86/darwin.S => js/src/ctypes/libffi/src/x86/darwin.S rename : js/ctypes/libffi/src/x86/darwin64.S => js/src/ctypes/libffi/src/x86/darwin64.S rename : js/ctypes/libffi/src/x86/ffi.c => js/src/ctypes/libffi/src/x86/ffi.c rename : js/ctypes/libffi/src/x86/ffi64.c => js/src/ctypes/libffi/src/x86/ffi64.c rename : js/ctypes/libffi/src/x86/ffitarget.h => js/src/ctypes/libffi/src/x86/ffitarget.h rename : js/ctypes/libffi/src/x86/freebsd.S => js/src/ctypes/libffi/src/x86/freebsd.S rename : js/ctypes/libffi/src/x86/sysv.S => js/src/ctypes/libffi/src/x86/sysv.S rename : js/ctypes/libffi/src/x86/unix64.S => js/src/ctypes/libffi/src/x86/unix64.S rename : js/ctypes/libffi/src/x86/win32.S => js/src/ctypes/libffi/src/x86/win32.S rename : js/ctypes/libffi/src/x86/win64.S => js/src/ctypes/libffi/src/x86/win64.S rename : js/ctypes/libffi/testsuite/Makefile.am => js/src/ctypes/libffi/testsuite/Makefile.am rename : js/ctypes/libffi/testsuite/Makefile.in => js/src/ctypes/libffi/testsuite/Makefile.in rename : js/ctypes/libffi/testsuite/config/default.exp => js/src/ctypes/libffi/testsuite/config/default.exp rename : js/ctypes/libffi/testsuite/lib/libffi-dg.exp => js/src/ctypes/libffi/testsuite/lib/libffi-dg.exp rename : js/ctypes/libffi/testsuite/lib/target-libpath.exp => js/src/ctypes/libffi/testsuite/lib/target-libpath.exp rename : js/ctypes/libffi/testsuite/lib/wrapper.exp => js/src/ctypes/libffi/testsuite/lib/wrapper.exp rename : js/ctypes/libffi/testsuite/libffi.call/call.exp => js/src/ctypes/libffi/testsuite/libffi.call/call.exp rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn1.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn1.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn2.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn2.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn3.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn3.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn4.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn4.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn5.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn5.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_fn6.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_fn6.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_loc_fn0.c rename : js/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c => js/src/ctypes/libffi/testsuite/libffi.call/closure_stdcall.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_12byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_12byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_16byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_16byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_18byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_18byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_19byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_19byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_1_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_20byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_24byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_24byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_2byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_2byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_3byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4_1byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_4byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_4byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_5byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_5byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_64byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_64byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_6byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_6byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7_1_byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_7byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_7byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_8byte.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_8byte.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte1.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_9byte2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_longdouble_split2.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_sint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint16.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint32.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_align_uint64.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_dbls_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_double_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_double_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_float.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_float.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_longdouble_va.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_sshortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_multi_ushortchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_pointer_stack.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_schar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_schar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_sshort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_sshort.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uchar.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uchar.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_uint.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_uint.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ulonglong.c rename : js/ctypes/libffi/testsuite/libffi.call/cls_ushort.c => js/src/ctypes/libffi/testsuite/libffi.call/cls_ushort.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_abi.c rename : js/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c => js/src/ctypes/libffi/testsuite/libffi.call/err_bad_typedef.c rename : js/ctypes/libffi/testsuite/libffi.call/ffitest.h => js/src/ctypes/libffi/testsuite/libffi.call/ffitest.h rename : js/ctypes/libffi/testsuite/libffi.call/float.c => js/src/ctypes/libffi/testsuite/libffi.call/float.c rename : js/ctypes/libffi/testsuite/libffi.call/float1.c => js/src/ctypes/libffi/testsuite/libffi.call/float1.c rename : js/ctypes/libffi/testsuite/libffi.call/float2.c => js/src/ctypes/libffi/testsuite/libffi.call/float2.c rename : js/ctypes/libffi/testsuite/libffi.call/float3.c => js/src/ctypes/libffi/testsuite/libffi.call/float3.c rename : js/ctypes/libffi/testsuite/libffi.call/float4.c => js/src/ctypes/libffi/testsuite/libffi.call/float4.c rename : js/ctypes/libffi/testsuite/libffi.call/huge_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/huge_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/many.c => js/src/ctypes/libffi/testsuite/libffi.call/many.c rename : js/ctypes/libffi/testsuite/libffi.call/many_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/many_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/negint.c => js/src/ctypes/libffi/testsuite/libffi.call/negint.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct10.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct10.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/nested_struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/nested_struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/problem1.c => js/src/ctypes/libffi/testsuite/libffi.call/problem1.c rename : js/ctypes/libffi/testsuite/libffi.call/promotion.c => js/src/ctypes/libffi/testsuite/libffi.call/promotion.c rename : js/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c => js/src/ctypes/libffi/testsuite/libffi.call/pyobjc-tc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_dbl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_dbl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl2.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl2.c rename : js/ctypes/libffi/testsuite/libffi.call/return_fl3.c => js/src/ctypes/libffi/testsuite/libffi.call/return_fl3.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ldl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ldl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ll1.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ll1.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_sl.c => js/src/ctypes/libffi/testsuite/libffi.call/return_sl.c rename : js/ctypes/libffi/testsuite/libffi.call/return_uc.c => js/src/ctypes/libffi/testsuite/libffi.call/return_uc.c rename : js/ctypes/libffi/testsuite/libffi.call/return_ul.c => js/src/ctypes/libffi/testsuite/libffi.call/return_ul.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_large2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_large2.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium.c rename : js/ctypes/libffi/testsuite/libffi.call/stret_medium2.c => js/src/ctypes/libffi/testsuite/libffi.call/stret_medium2.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen.c rename : js/ctypes/libffi/testsuite/libffi.call/strlen_win32.c => js/src/ctypes/libffi/testsuite/libffi.call/strlen_win32.c rename : js/ctypes/libffi/testsuite/libffi.call/struct1.c => js/src/ctypes/libffi/testsuite/libffi.call/struct1.c rename : js/ctypes/libffi/testsuite/libffi.call/struct2.c => js/src/ctypes/libffi/testsuite/libffi.call/struct2.c rename : js/ctypes/libffi/testsuite/libffi.call/struct3.c => js/src/ctypes/libffi/testsuite/libffi.call/struct3.c rename : js/ctypes/libffi/testsuite/libffi.call/struct4.c => js/src/ctypes/libffi/testsuite/libffi.call/struct4.c rename : js/ctypes/libffi/testsuite/libffi.call/struct5.c => js/src/ctypes/libffi/testsuite/libffi.call/struct5.c rename : js/ctypes/libffi/testsuite/libffi.call/struct6.c => js/src/ctypes/libffi/testsuite/libffi.call/struct6.c rename : js/ctypes/libffi/testsuite/libffi.call/struct7.c => js/src/ctypes/libffi/testsuite/libffi.call/struct7.c rename : js/ctypes/libffi/testsuite/libffi.call/struct8.c => js/src/ctypes/libffi/testsuite/libffi.call/struct8.c rename : js/ctypes/libffi/testsuite/libffi.call/struct9.c => js/src/ctypes/libffi/testsuite/libffi.call/struct9.c rename : js/ctypes/libffi/testsuite/libffi.call/testclosure.c => js/src/ctypes/libffi/testsuite/libffi.call/testclosure.c rename : js/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h => js/src/ctypes/libffi/testsuite/libffi.special/ffitestcxx.h rename : js/ctypes/libffi/testsuite/libffi.special/special.exp => js/src/ctypes/libffi/testsuite/libffi.special/special.exp rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest.cc rename : js/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc => js/src/ctypes/libffi/testsuite/libffi.special/unwindtest_ffi_call.cc rename : js/ctypes/libffi/texinfo.tex => js/src/ctypes/libffi/texinfo.tex rename : js/ctypes/typedefs.h => js/src/ctypes/typedefs.h
2010-04-02 12:02:17 -07:00
old_config_files=$CONFIG_FILES
unset CONFIG_FILES
AC_OUTPUT_SUBDIRS(ctypes/libffi)
cache_file=$old_cache_file
ac_configure_args="$_SUBDIR_CONFIG_ARGS"
CONFIG_FILES=$old_config_files
fi