mirror of
https://github.com/libuv/libuv
synced 2025-03-28 21:13:16 +00:00
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.
This commit is contained in:
parent
ddd7e04fd6
commit
d2f67b92c6
@ -21,7 +21,8 @@ AC_CANONICAL_HOST
|
||||
AC_ENABLE_SHARED
|
||||
AC_ENABLE_STATIC
|
||||
AC_PROG_CC
|
||||
AM_PROG_AR
|
||||
# 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])
|
||||
LT_INIT
|
||||
# TODO(bnoordhuis) Check for -pthread vs. -pthreads
|
||||
AC_CHECK_LIB([dl], [dlopen])
|
||||
|
Loading…
x
Reference in New Issue
Block a user