Commit Graph

17 Commits

Author SHA1 Message Date
Jameson Nash
9e59aa1bc8
release: check versions of autogen scripts are newer (#3554)
Use libtoolize --force to ensure it updates m4 directory with the
latest files. Add an option "release" to the autogen.sh script that
checks the versions of the input tools, so that we know they are always
using the latest version for each release.
2022-04-19 11:16:25 -04:00
V-for-Vasili
7233c428ec
build: fix AIX xlc autotools build (#3588) 2022-04-06 13:07:05 +01:00
Claes Nästén
739e441d4d
build: AC_SUBST for AM_CFLAGS (#3551)
Using autoconf 2.71 and automake 1.16.5 the CFLAGS from
CC_CHECK_CFLAGS_APPEND does not get set in the Makefile without AC_SUBST
causing compilation to fail on Solaris due to missing -std=gnu89
2022-03-15 13:51:00 +01:00
Jameson Nash
930af43437
build: rename CFLAGS to AM_CFLAGS (#3431)
The CFLAGS variable is reserved and should never be set:
https://www.gnu.org/software/automake/manual/html_node/User-Variables.html
2022-01-31 16:50:32 -05:00
Ben Noordhuis
20756b1a9f build: don't .gitignore m4/ax_pthread.m4
It was reported that the addition of that file without adding an
exception to m4/.gitignore breaks the tarball autotools build because
the file isn't distributed.

Fixes: https://github.com/libuv/libuv/issues/2862
PR-URL: https://github.com/libuv/libuv/pull/2885
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
2020-06-16 11:46:14 +02:00
Jeroen Roovers
b4fe4f6ad9
build: check for libraries not provided by libc
Using AC_CHECK_LIB ignores symbols already provided by
other libraries, or in other words it links libuv against
libraries that it does not need.

Attempts to remove specific libraries were met with arguments
that older libc versions would still require them.[0]

Fix this by using AC_SEARCH_LIBS instead of AC_CHECK_LIB while
using AX_PTHREAD for POSIX threads.

[0] E.g. https://github.com/libuv/libuv/pull/2493

PR-URL: https://github.com/libuv/libuv/pull/2823
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2020-05-17 09:16:13 -04:00
Jérémy Lal
13ba902cf3
build: fix utf-8 name of copyright holder
PR-URL: https://github.com/libuv/libuv/pull/1817
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2018-04-29 05:34:42 -04:00
Ben Noordhuis
cb5140023b build: remove dtrace probes
The existing probes, all two of them, cause a great deal of pain for
people trying to build libuv on Linux because of SystemTap's dtrace(1)
utilitity not understanding the -xnolibs flag.

We could hack around that but it's easier to just remove the probes:
they are largely useless and unused while still needing a lot of
supporting infrastructure.  This commit removes 200 lines of code
and configuration.

Refs joyent/libuv#1478.
2014-11-10 20:12:50 -03:00
Recep ASLANTAS
ffa432451d ignore: include m4 files which are created manually 2014-09-17 22:51:04 +02:00
Recep ASLANTAS
facf595cad build: add m4 for feature/flag-testing 2014-09-17 22:50:55 +02:00
Norio Kobota
1759781c90 build: fix building with old versions of autoconf 2014-04-10 10:48:55 +02:00
Fedor Indutny
1d42b3ce7c Revert "build: enable all compiler warnings"
This reverts commit f75bb7c337.

We need to figure out all those warnings before reapplying this patch.
2014-04-05 21:31:32 +04:00
Ben Noordhuis
f75bb7c337 build: enable all compiler warnings 2014-04-04 23:11:23 +04:00
Saúl Ibarra Corretgé
515be33909 build: fix compilation warning if dtrace doesn't work
Check if dtrace should instrument object files only if dtrace
support is detected to work
2014-02-26 09:45:44 +01:00
Timothy J Fontaine
3310ff4a9e build: update dtrace m4 check for sunos
The check to see if -G is needed for dtrace requires a bit more effort,
make a header, c file, and object file.
2014-02-18 07:31:05 -08:00
Timothy J Fontaine
2f3124a8c1 build: add DTrace detection for autotools 2013-07-03 16:04:01 -07: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