Bert Belder
99ba903d46
win: Define __POSIX__ constant when the platform is POSIX-y
2010-11-29 23:46:30 -08:00
Ryan Dahl
a326eebac8
Put tools/ into PYTHON_PATH
2010-11-29 19:46:00 -08:00
Nikhil Marathe
7a3971e433
Use sys.executable to call python
2010-11-21 19:27:23 -08:00
Ben Noordhuis
a87172f9b2
Compile with -Wno-unused-parameter -D_FORTIFY_SOURCE=2
2010-11-21 19:07:27 -08:00
Brian White
952bbb86b5
Fix OpenSSL SSL_library_init function check on OpenBSD.
2010-11-18 21:47:15 -08:00
Ryan Dahl
473721979d
Print warning when using platform_none.cc
2010-11-16 03:19:01 +00:00
Ryan Dahl
25eecd179b
Fix configure on x86
2010-11-14 22:46:26 -08:00
Ben Noordhuis
5d80bdb6ae
Add --profile flag to configure script, enables gprof profiling.
2010-11-13 14:34:45 -08:00
Rasmus Andersson
e5a0fbe500
Added support for cross compilation and also fixed DEST_CPU to represent the canonical symbols dictated by v8
2010-11-13 14:29:59 -08:00
Ryan Dahl
029180a93c
Install node-waf
2010-11-03 09:02:54 -07:00
Ryan Dahl
97c9745063
Back to WAF
...
Too much instability right now. Hopefully we can revisit autoconf soon.
2010-11-01 16:51:20 -07:00
Ryan Dahl
15594eaf87
Replace WAF with make/autoconf
2010-10-24 18:39:36 -07:00
AJ ONeal
74c8b5fd08
./wscript: allow for cross-compiling of all three supported architectures
2010-10-18 11:39:56 -07:00
Ben Noordhuis
045bd4c7a4
Preliminary pkg-config support.
2010-10-13 01:49:33 -07:00
Ryan Dahl
c4636a578c
Dynamically load native scripts
2010-10-12 11:49:41 -07:00
Ryan Dahl
fe74283e1d
Fix a few compiler warnings...
2010-10-09 16:04:38 -07:00
Ryan Dahl
fe060916ec
Put preprocessor defines into CPPFLAGS not compile flags...
2010-09-28 03:17:44 -07:00
Ryan Dahl
9922e4e433
Don't choose jobs based on processor
...
Leads to lots of builds with out-of-memory.
2010-09-20 16:51:52 -07:00
Ryan Dahl
754fde7325
More explicit openssl configure warning
2010-09-20 12:52:07 -07:00
Paul Querna
2d348bb985
Fatal error out if OpenSSL was not explicitly disabled, we just couldn't autodetect it.
2010-09-19 15:32:10 -07:00
Ryan Dahl
124fbedc2f
Add node::Start()
...
first step towards building a libnode.a
2010-09-19 13:13:59 -07:00
Tony Metzidis
5c9b9c2e70
- fix AttributeError on "use_openssl" when doing ./configure --without-ssl - error was: AttributeError: Values instance has no attribute 'use_openssl'
2010-09-13 11:50:06 -07:00
Ryan Dahl
e8b3751743
Only check for execinfo lib in freebsd
...
OpenEmbedded doesn't like it when you look in /usr/lib
2010-08-27 06:20:20 -07:00
Ryan Dahl
5bce8ed118
Fix process.platform
2010-08-18 13:16:32 -07:00
Ryan Dahl
ae5d613b3e
Add --without-snapshot configure option
2010-08-15 14:27:05 -07:00
Rasmus Andersson
758f12f34c
added read and write support for process.title Darwin
...
This will only manipulate the OS X-level process name, not the title shown
in e.g. ps.
2010-08-12 16:23:41 -07:00
Ryan Dahl
5185c15ef7
Stub out process.title
2010-08-11 12:39:42 -07:00
Ryan Dahl
a4906c7c83
Print warning when OpenSSL not found
2010-08-04 16:07:10 -07:00
Samuel Shull
24c6d26cca
Add node_version.h to install
2010-08-04 10:54:02 -07:00
Paul Querna
30dadfc033
Register builtin extensions via a macro, rather than a manual strcmp
...
Set the stage for making the builtin modules more dynamic.
Note: this only converts crypto and net, I will add more extensions in a
later commit.
* node.h: Add utility macro for converting macro values to strings.
* node.h: Include the actual module name inside the module structure, not
just the file it was built from.
* node.h: New Macro, NODE_MODULE_DECL, for declaring an external reference
to a module structure.
* node_extensions.cc: New File, implements get_builtin_module, which
iterates over the module structures that are compiled into node.
* node.cc(node::Binding): Use the new module lookup function to find
modules.
* node_{net,crypto}.c: Add NODE_MODULEs to generate the module structure.
2010-07-14 10:17:25 -07:00
Paul Querna
480164f923
Move node version to a single static header file.
...
Some compile time variables like the cflags and prefix have been moved to
the node_config.h.in, in the anticipation that they will be removed at
somepoint.
2010-07-13 06:39:47 -07:00
Ryan Dahl
a6b8586e94
bump version
2010-07-03 08:37:46 +02:00
Rasmus Andersson
67f7fe5e5c
Use all available CPUs when building
...
Automatically set Options.options.jobs to the number of CPUs/cores on the
executing machine, unless the environment variable JOBS is set
2010-06-27 08:49:06 -07:00
Ryan Dahl
a620b7298f
bump version
2010-06-21 13:34:10 -07:00
Ryan Dahl
545e10f239
wscript shouldn't fail if 'git describe' doesn't work
2010-06-21 10:21:55 -07:00
Ryan Dahl
01a8d270cf
Add platform files, move getmem to node::OS class.
2010-06-17 18:23:43 -07:00
Brian McKenna
431e72cbe8
Make addon building work for Cygwin.
2010-06-11 13:25:03 -07:00
Ryan Dahl
10d8adb089
bump version
2010-06-11 12:58:14 -07:00
Raffaele Sena
b3b81d67ff
Port to cygwin
2010-06-09 15:08:46 -07:00
Ryan Dahl
9e8df0e836
More dynamic linking options (again)
...
Original commit: 75f0cf471a
2010-06-04 11:42:34 -07:00
Ryan Dahl
ef9f4046c9
Better 'make' output
...
Removes 'make all-debug' since it is unnecessary now.
2010-06-02 13:03:31 -07:00
Ryan Dahl
501136b999
Revert "More dynmaic linking options"
...
Broke the build. Will fix and reapply soon.
This reverts commit 75f0cf471a
.
2010-06-02 09:16:28 -07:00
Ryan Dahl
75f0cf471a
More dynmaic linking options
...
This adds the following options to the `configure` program
--shared-v8 Link to a shared V8 DLL instead of static linking
--shared-v8-includes=SHARED_V8_INCLUDES
Directory containing V8 header files
--shared-v8-libpath=SHARED_V8_LIBPATH
A directory to search for the shared V8 DLL
--shared-cares Link to a shared C-Ares DLL instead of static linking
--shared-cares-includes=SHARED_CARES_INCLUDES
Directory containing C-Ares header files
--shared-cares-libpath=SHARED_CARES_LIBPATH
A directory to search for the shared C-Ares DLL
--shared-libev Link to a shared libev DLL instead of static linking
--shared-libev-includes=SHARED_LIBEV_INCLUDES
Directory containing libev header files
--shared-libev-libpath=SHARED_LIBEV_LIBPATH
A directory to search for the shared libev DLL
and removes --system.
2010-06-01 20:18:43 -07:00
Ryan Dahl
0c1aa36835
bump version
2010-05-29 19:37:57 -07:00
Ryan Dahl
78e49f1c88
Rename node_net2.cc to node_net.cc
2010-05-29 13:08:05 -07:00
Ryan Dahl
311a62dea7
Fix JOBS for Solaris make
2010-05-26 13:07:45 -07:00
Ryan Dahl
9514a4d547
bump version
2010-05-21 02:55:38 -07:00
Andrew Johnston
9599607065
Added posix fsync and fdatasync to fs module
2010-05-14 18:42:22 -07:00
Ryan Dahl
a9b962a653
Add --without-ssl configure option
2010-05-14 16:34:47 -07:00
Ryan Dahl
0b7bda8f46
Remove some unused cruft from wscript
2010-05-14 16:30:58 -07:00