Sadique Ali
c9676c9147
build: improve c compiler detection
13 years ago
Javier Hernández
792d9a921d
build: print error message if no compiler found
Make the configure script warn the user about the lack of an acceptable
C compiler on the system.
13 years ago
Nathan Rajlich
9b7a6c5238
configure: output a newline at the end of config.gypi
13 years ago
Nathan Rajlich
fdeeabba78
configure: don't use "with" for Python 2.5 and older
13 years ago
Dave Pacheco
cc15299c32
build: add support for DTrace and postmortem
* fixes #2110
* includes V8 postmortem metadata in Solaris builds
* adds GYP support for DTrace probes and ustack helper
* ustack helper derives constants dynamically from libv8_base.a
* build with DTrace support by default on SunOS
13 years ago
Nathan Rajlich
70e68893fe
build: make --openssl-use-sys a boolean option
Before you had to enter a truthy value like: --openssl-use-sys=1
13 years ago
Alex Xu
5abcdc9671
build: fix configure with spaces in CC
13 years ago
Nathan Rajlich
dc752327bb
vcbuild: run the 'configure' script in vcbuild.bat
So that a 'config.gypi' file gets generated, which is
required for the `process.config` object (see #2928 ).
13 years ago
Ben Noordhuis
5ebc05f560
build: disable -fvisibility=hidden if gcc < 4.0.0
13 years ago
Ben Noordhuis
5062741bd7
build: make CC command in -fstrict-aliasing check configurable
13 years ago
Sadique Ali
707863c1fb
build: make CC command in host check configurable
13 years ago
Shigeki Ohtsu
d6f0ecc622
build: fix gcc version check
13 years ago
Shigeki Ohtsu
b6595c4d60
build: remove unused import from configure script
13 years ago
Ben Noordhuis
30b29d8f87
build: disable -fstrict-aliasing if gcc < 4.6.0
A compiler bug in older versions of gcc makes it do unsafe optimizations at -O1
and higher. This manifested itself with (at least) gcc 4.5.2 on SmartOS because
it made V8 hang in a busy loop.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45883
13 years ago
Ben Noordhuis
0613af0a20
build: remove --shared-cares configure switch
c-ares is a) bundled with libuv now, and b) contains out-of-tree patches. It no
longer makes sense to link against a shared library.
Fixes #2117 .
13 years ago
Shigeki Ohtsu
82ad1f87fa
Fix #2830 for the old gcc bug on SmartOS
13 years ago
T.C. Hollingsworth
d03b8487c6
build: support shared zlib
13 years ago
isaacs
59ecf2ccf7
Revert "Revert "build: support shared V8 properly""
This reverts commit a9130222bd
.
13 years ago
isaacs
a9130222bd
Revert "build: support shared V8 properly"
This reverts commit 3d1b670640
.
Breaks build on windows.
https://gist.github.com/1895279
13 years ago
Shigeki Ohtsu
680d75af34
build: make default_configuration consistent with BUILDTYPE
13 years ago
T.C. Hollingsworth
3d1b670640
build: support shared V8 properly
-don't pull in bundled v8 as a dependency when node_shared_v8==true
-use node_shared_v8_includes for v8.h and v8-debug.h
13 years ago
Nathan Rajlich
19133cac02
build: better host_arch() definition in configure
On one of my OS X Lion machines, it always reports i386, even though 64-bit
is supported. This lookup better matches how WAF determines the host arch,
which was correctly getting 64-bit even on this screwy machine.
13 years ago
Nathan Rajlich
028043dd02
build: map i686 to ia32
13 years ago
Nathan Rajlich
af4a96ce6e
build: test `uname -m` first, then `uname -p`
Prevent false i386 on 64-bit OS X.
13 years ago
Karl Skomski
09ccbef3bb
build: detect host_arch better
13 years ago
Ben Noordhuis
74a8215a86
Revert support for isolates.
It was decided that the performance benefits that isolates offer (faster spin-up
times for worker processes, faster inter-worker communication, possibly a lower
memory footprint) are not actual bottlenecks for most people and do not outweigh
the potential stability issues and intrusive changes to the code base that
first-class support for isolates requires.
Hence, this commit backs out all isolates-related changes.
Good bye, isolates. We hardly knew ye.
13 years ago
Ben Noordhuis
ad42a82df5
build: remove node_debug from config.gypi
13 years ago
Ben Noordhuis
e493b29598
build: respect --debug configure switch
13 years ago
Fedor Indutny
6e76a7cb45
installer: install node-waf
* added --without-waf flag for configure script
13 years ago
Ben Noordhuis
93465d3051
build: support --dest-cpu configure switch again
13 years ago
Ben Noordhuis
472a72d27f
build: honour the PYTHON environment variable
Overrides the path to the python binary. Defaults to `python`.
13 years ago
Ben Noordhuis
b3d4938e3e
build: add --without-isolates configure switch
13 years ago
Ben Noordhuis
39e2c469db
build: add --without-isolates configure switch
13 years ago
Ryan Dahl
624f70e88f
GYP: rename options.gypi to config.gypi
Sounds more familiar to unix users used to config.h
13 years ago
jbergstroem
45605c9b39
gyp: switch json for pprint when generating config
13 years ago
Fedor Indutny
a9f2c4aa30
--without-npm option
Fixes #2353 .
13 years ago
Ryan Dahl
e61de70c96
gyp: use built-in openssl by default
13 years ago
Ben Noordhuis
a033261f39
build: DRY configure script
13 years ago
Ryan Dahl
48d21dd541
Force makefile generation in gyp
13 years ago
Ben Noordhuis
b9e1bb3d92
build: auto-run tools/gyp_node after ./configure
13 years ago
Ryan Dahl
14b04b06b4
Remove SCONS deprecate WAF
We keep around WAF for node-waf only.
We need great diligence by people over the next couple weeks to work out all
the kinks in the GYP build system. We realize that it is currently several
times slower than the WAF build. Please lend a hand.
Fixes #1504
Fixes #1500
13 years ago
Ben Noordhuis
790f13df9c
Fix typo in configure script
13 years ago
Ryan Dahl
9e5cd012e2
Revert "Unify configure scripts"
This reverts commit 71435ede81
.
13 years ago
Ryan Dahl
71435ede81
Unify configure scripts
13 years ago
Ryan Dahl
03b5831f90
Bring back old Makefile and configure script
GYP and WAF need to live in parallel for some time.
13 years ago
Ryan Dahl
f57d70d3c9
sketch out configure support
13 years ago
Ryan Dahl
97c9745063
Back to WAF
Too much instability right now. Hopefully we can revisit autoconf soon.
14 years ago
Ryan Dahl
ccdd979a69
Changes to compile on solaris
14 years ago
Ryan Dahl
5175864c0e
exec instead of sh a the configure.real script
14 years ago
Ryan Dahl
43022eabf7
more configure hackery
14 years ago