mirror of https://github.com/aria2/aria2
commit
e5bc00d449
14
configure.ac
14
configure.ac
|
@ -934,17 +934,9 @@ case "$host" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$host" in
|
AC_CHECK_FUNCS([timegm],
|
||||||
*android*)
|
[AM_CONDITIONAL([HAVE_TIMEGM], true)],
|
||||||
# timegm is not declared with Android NDK r12b
|
[AM_CONDITIONAL([HAVE_TIMEGM], false)])
|
||||||
AM_CONDITIONAL([HAVE_TIMEGM], false)
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
AC_CHECK_FUNCS([timegm],
|
|
||||||
[AM_CONDITIONAL([HAVE_TIMEGM], true)],
|
|
||||||
[AM_CONDITIONAL([HAVE_TIMEGM], false)])
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
AC_CHECK_FUNCS([port_associate], [have_port_associate=yes])
|
AC_CHECK_FUNCS([port_associate], [have_port_associate=yes])
|
||||||
AM_CONDITIONAL([HAVE_PORT_ASSOCIATE], [test "x$have_port_associate" = "xyes"])
|
AM_CONDITIONAL([HAVE_PORT_ASSOCIATE], [test "x$have_port_associate" = "xyes"])
|
||||||
|
|
Loading…
Reference in New Issue