Changes since version 1.7.5:
* unix: fix memory leak in uv_interface_addresses (Jianghua Yang)
* unix: make uv_guess_handle work properly for AIX (Gireesh Punathil)
* fs: undo uv__req_init when uv__malloc failed (Jianghua Yang)
* build: remove unused 'component' GYP option (Saúl Ibarra Corretgé)
* include: remove duplicate extern declaration (Jianghua Yang)
* win: use the MSVC provided snprintf where possible (Jason Williams)
* win, test: fix compilation warning (Saúl Ibarra Corretgé)
* win: fix compilation with VS < 2012 (Ryan Johnston)
* stream: support empty uv_try_write on unix (Fedor Indutny)
* unix: fix request handle leak in uv__udp_send (Jianghua Yang)
* src: replace QUEUE_SPLIT with QUEUE_MOVE (Ben Noordhuis)
* unix: use QUEUE_MOVE when iterating over lists (Ben Noordhuis)
* unix: squelch harmless valgrind warning (Ben Noordhuis)
* test: don't abort on setrlimit() failure (Ben Noordhuis)
* unix: only undo fs req registration in async mode (Ben Noordhuis)
* unix: fix uv__getiovmax return value (HungMingWu)
* unix: make work with Solaris Studio. (Adam Stylinski)
* test: fix fs_event_watch_file_currentdir flakiness (Santiago Gimeno)
* unix: skip prohibited syscalls on tvOS and watchOS (Nathan Corvino)
* test: use FQDN in getaddrinfo_fail test (Wink Saville)
* docs: clarify documentation of uv_tcp_init_ex (Andrius Bentkus)
* win: fix comment (Miodrag Milanovic)
* doc: fix typo in README (Angel Leon)
* darwin: abort() if (un)locking fs mutex fails (Ben Noordhuis)
* pipe: enable inprocess uv_write2 on Windows (Louis DeJardin)
* win: properly return UV_EBADF when _close() fails (Nicholas Vavilov)
* test: skip process_title for AIX (Imran Iqbal)
* misc: expose handle print APIs (Petka Antonov)
* include: add stdio.h to uv.h (Saúl Ibarra Corretgé)
* misc: remove unnecessary null pointer checks (Ian Kronquist)
* test,freebsd: skip udp_dual_stack if not supported (Santiago Gimeno)
* linux: don't retry dup2/dup3 on EINTR (Ben Noordhuis)
* unix: don't retry dup2/dup3 on EINTR (Ben Noordhuis)
* test: fix -Wtautological-pointer-compare warnings (Saúl Ibarra
Corretgé)
* win: map ERROR_BAD_PATHNAME to UV_ENOENT (Tony Kelman)
* test: fix test/test-tty.c for AIX (Imran Iqbal)
* android: support api level less than 21 (kkdaemon)
* fsevents: fix race on simultaneous init+close (Fedor Indutny)
* linux,fs: fix p{read,write}v with a 64bit offset (Saúl Ibarra
Corretgé)
* fs: add uv_fs_realpath() (Yuval Brik)
* win: fix path for removed and renamed fs events (Joran Dirk Greef)
* win: do not read more from stream than available (Jeremy Whitlock)
* test: test that uv_close() doesn't corrupt QUEUE (Andrey Mazo)
* unix: fix uv_fs_event_stop() from fs_event_cb (Andrey Mazo)
* test: fix self-deadlocks in thread_rwlock_trylock (Ben Noordhuis)
* src: remove non ascii character (sztomi)
* test: fix test udp_multicast_join6 for AIX (Imran Iqbal)
69 lines
3.1 KiB
Plaintext
69 lines
3.1 KiB
Plaintext
# Copyright (c) 2013, Ben Noordhuis <info@bnoordhuis.nl>
|
|
#
|
|
# Permission to use, copy, modify, and/or distribute this software for any
|
|
# purpose with or without fee is hereby granted, provided that the above
|
|
# copyright notice and this permission notice appear in all copies.
|
|
#
|
|
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
AC_PREREQ(2.57)
|
|
AC_INIT([libuv], [1.8.0], [https://github.com/libuv/libuv/issues])
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
m4_include([m4/libuv-extra-automake-flags.m4])
|
|
m4_include([m4/as_case.m4])
|
|
m4_include([m4/libuv-check-flags.m4])
|
|
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects] UV_EXTRA_AUTOMAKE_FLAGS)
|
|
AC_CANONICAL_HOST
|
|
AC_ENABLE_SHARED
|
|
AC_ENABLE_STATIC
|
|
AC_PROG_CC
|
|
AM_PROG_CC_C_O
|
|
CC_CHECK_CFLAGS_APPEND([-fvisibility=hidden])
|
|
CC_CHECK_CFLAGS_APPEND([-g])
|
|
CC_CHECK_CFLAGS_APPEND([-std=gnu89])
|
|
CC_CHECK_CFLAGS_APPEND([-pedantic])
|
|
CC_CHECK_CFLAGS_APPEND([-Wall])
|
|
CC_CHECK_CFLAGS_APPEND([-Wextra])
|
|
CC_CHECK_CFLAGS_APPEND([-Wno-unused-parameter])
|
|
# AM_PROG_AR is not available in automake v0.11 but it's essential in v0.12.
|
|
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
|
|
# autoconf complains if AC_PROG_LIBTOOL precedes AM_PROG_AR.
|
|
AC_PROG_LIBTOOL
|
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
|
LT_INIT
|
|
# TODO(bnoordhuis) Check for -pthread vs. -pthreads
|
|
AC_CHECK_LIB([dl], [dlopen])
|
|
AC_CHECK_LIB([kstat], [kstat_lookup])
|
|
AC_CHECK_LIB([kvm], [kvm_open])
|
|
AC_CHECK_LIB([nsl], [gethostbyname])
|
|
AC_CHECK_LIB([perfstat], [perfstat_cpu])
|
|
AC_CHECK_LIB([pthread], [pthread_mutex_init])
|
|
AC_CHECK_LIB([rt], [clock_gettime])
|
|
AC_CHECK_LIB([sendfile], [sendfile])
|
|
AC_CHECK_LIB([socket], [socket])
|
|
AC_SYS_LARGEFILE
|
|
AM_CONDITIONAL([AIX], [AS_CASE([$host_os],[aix*], [true], [false])])
|
|
AM_CONDITIONAL([ANDROID], [AS_CASE([$host_os],[linux-android*],[true], [false])])
|
|
AM_CONDITIONAL([DARWIN], [AS_CASE([$host_os],[darwin*], [true], [false])])
|
|
AM_CONDITIONAL([DRAGONFLY],[AS_CASE([$host_os],[dragonfly*], [true], [false])])
|
|
AM_CONDITIONAL([FREEBSD], [AS_CASE([$host_os],[freebsd*], [true], [false])])
|
|
AM_CONDITIONAL([LINUX], [AS_CASE([$host_os],[linux*], [true], [false])])
|
|
AM_CONDITIONAL([NETBSD], [AS_CASE([$host_os],[netbsd*], [true], [false])])
|
|
AM_CONDITIONAL([OPENBSD], [AS_CASE([$host_os],[openbsd*], [true], [false])])
|
|
AM_CONDITIONAL([SUNOS], [AS_CASE([$host_os],[solaris*], [true], [false])])
|
|
AM_CONDITIONAL([WINNT], [AS_CASE([$host_os],[mingw*], [true], [false])])
|
|
AC_CHECK_HEADERS([sys/ahafs_evProds.h])
|
|
AC_CHECK_PROG(PKG_CONFIG, pkg-config, yes)
|
|
AM_CONDITIONAL([HAVE_PKG_CONFIG], [test "x$PKG_CONFIG" != "x"])
|
|
AS_IF([test "x$PKG_CONFIG" != "x"], [
|
|
AC_CONFIG_FILES([libuv.pc])
|
|
])
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_OUTPUT
|