diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2017-03-20 09:14:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-20 09:14:45 +0100 |
commit | 19aaa0fcca3427e4006a967972eb16a570ca43b1 (patch) | |
tree | d2481f3bf713a8bea6f47766bc323a8f6bc0b469 | |
parent | 47bcb4751c47e4026a7458f94e542d2c7dbbf92d (diff) | |
parent | 540a317a212ecef8592cc8089ecce1dacea08b2b (diff) |
Merge pull request #92 from zw3rk/feature/seekdir
Android doesn’t have telldir/seekdir in bionic
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index fdc27e4..32f7174 100644 --- a/configure.ac +++ b/configure.ac @@ -37,8 +37,10 @@ AC_CHECK_FUNCS([nanosleep]) AC_CHECK_FUNCS([ptsname]) AC_CHECK_FUNCS([setitimer]) AC_CHECK_FUNCS([readdir_r]) + dnl not available on android so check for it -AC_CHECK_FUNCS([telldir seekdir]) +AC_CANONICAL_TARGET +AS_CASE([$target_os],[*-android*],[],[AC_CHECK_FUNCS([telldir seekdir])]) dnl When available, _NSGetEnviron() (defined in <crt_externs.h>) is dnl the preferred way to access environ(7) |