mirror of
https://github.com/aria2/aria2.git
synced 2025-02-26 08:22:11 +00:00
android(ndk r23) has timegm
This commit is contained in:
parent
21f476588c
commit
11fa3e9fe4
14
configure.ac
14
configure.ac
@ -925,17 +925,9 @@ case "$host" in
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$host" in
|
||||
*android*)
|
||||
# timegm is not declared with Android NDK r12b
|
||||
AM_CONDITIONAL([HAVE_TIMEGM], false)
|
||||
;;
|
||||
*)
|
||||
AC_CHECK_FUNCS([timegm],
|
||||
[AM_CONDITIONAL([HAVE_TIMEGM], true)],
|
||||
[AM_CONDITIONAL([HAVE_TIMEGM], false)])
|
||||
;;
|
||||
esac
|
||||
AC_CHECK_FUNCS([timegm],
|
||||
[AM_CONDITIONAL([HAVE_TIMEGM], true)],
|
||||
[AM_CONDITIONAL([HAVE_TIMEGM], false)])
|
||||
|
||||
AC_CHECK_FUNCS([port_associate], [have_port_associate=yes])
|
||||
AM_CONDITIONAL([HAVE_PORT_ASSOCIATE], [test "x$have_port_associate" = "xyes"])
|
||||
|
Loading…
Reference in New Issue
Block a user