summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <404610+tatsuhiro-t@users.noreply.github.com>2023-09-16 15:40:34 +0900
committerGitHub <noreply@github.com>2023-09-16 15:40:34 +0900
commite5bc00d4494ac6da71e76f8c3511d570d0dfe32f (patch)
treee609f3109a4304ce92db8c7a404f44aa55dfdd39
parent8ae5ce5df3acfb049874b5ccede455356479be8e (diff)
parent11fa3e9fe4234b4f753b53cff3420252748c9a7f (diff)
Merge pull request #1822 from FH0/master
android(ndk r23) has timegm
-rw-r--r--configure.ac14
1 files changed, 3 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac
index 485fe82e..3e03538e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -934,17 +934,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"])