Commit Graph

58 Commits

Author SHA1 Message Date
Ben Noordhuis
e4c1483b48 build: serial-tests was added in automake v1.12
Commit a97685e added a check that tries to ascertain whether the
serial-tests option is supported by automake. It assumed that said
option was added in automake v1.11 but it turns out that's wrong, it
wasn't added until v1.12. Update the check.

Of course, none of this would have been necessary if the automake people
had simply added a macro that tells you if serial-tests is supported or
not.
2013-08-08 22:30:08 +02:00
Ben Noordhuis
a97685e702 build: add automake serial-tests version check
The serial-tests directive was added in automake v0.11. Add an ad-hoc
version check to find out if it's safe to enable. Fixes the autotools
build with older versions of automake.
2013-08-05 23:29:58 +02:00
Ben Noordhuis
35ea88cf6b build: disable parallel automake tests
Our tests are not parallelizable and besides, they're one big test
from the perspective of the automake test driver anyway. Turn on
serial mode.
2013-08-05 02:46:59 +02:00
Ben Noordhuis
c82cea1ec5 build: enable AM_INIT_AUTOMAKE([subdir-objects])
Squelches (justified) warnings with automake 1.14.

Object files are built in subdirectories now so fix up the dtrace
postprocessing step to scan for *.lo files in said subdirectories.

Fixes #866.
2013-07-29 00:36:49 +02:00
Timothy J Fontaine
2f3124a8c1 build: add DTrace detection for autotools 2013-07-03 16:04:01 -07:00
Ben Noordhuis
3b9cfe2261 build: use AM_SILENT_RULES conditionally
It's not supported by older automake versions.
2013-07-02 18:01:28 +02:00
Ben Noordhuis
d2f67b92c6 build: use AM_PROG_AR conditionally
AM_PROG_AR does not exist in automake v0.11 but without it, you can't
build libuv with automake v0.12+ on Darwin.
2013-07-02 12:42:29 +02:00
Ben Noordhuis
ddd7e04fd6 build: switch to autotools
Switch to the build tool everyone loves to hate.  The Makefile has
served us well over the years but it's been acquiring more and more
features that autotools gives us for free, like easy static+shared
library building, sane install targets, and so on.

This commit drops MinGW support.  If there is demand for it, we'll
re-add it.
2013-07-02 01:21:16 +02:00