joyent/libuv — pull request #501 by JustinVenus (2012-07-24 18:12:33+00:00)
Title: Issue486 Autotool Support

Use the autotool build system for system packagers.

The old Makefile is renamed Makefile.old. Please note this pull request updates .gitignore as well.

I have successfully tested the changes on OSX, Linux, and Solaris 11.

Enhancements over the previous build system:
- Solaris sunpro (solarisstudio) compiler 12.3 is supported.
- You may build with c99
- initial support in "configure.ac" for using the system provided libev, libeio, and libcares.

How to test the changes.

sh autogen.sh #runs all of the utilities to generate ``configure``
./configure #generates an autotooled "Makefile"

make #builds a shared and static library
make test #runs the unittest test/runtests, note you may short circuit and skip "make"
make bench #runs the unittest test/runbenchmarks, note you may short circuit and skip "make"
make dist #creates a tarball gz file for distribution

make install #installs the software on the system
make DESTDIR='/var/tmp/libuv' install #installs the software at the specified prefix