Re: More Android patches

2023-01-19 Thread Bruno Haible
I wrote: > In a second step, I looked for occurrences to AC_CHECK_FUNC[S] > or AC_CHECK_FUNCS_ONCE of these symbols. E.g. > for s in `cat in-8.txt`; do grep -rw "$s" m4 modules | grep CHECK_FUNC; > echo ; done > and replaced these with gl_CHECK_FUNCS_ANDROID invocations. Having finished and reg

Re: More Android patches

2023-01-18 Thread Bruno Haible
Po Lu wrote: > With the NDK 16.1.4479499 and __ANDROID_API__ set to 8, utimensat and > ftruncate appear in libc.so but not in the system headers. Thanks for the report. The problem, however, is much larger than these two symbols. Previously I handled the __INTRODUCED_IN that I found in the Termux

More Android patches

2023-01-18 Thread Po Lu
With the NDK 16.1.4479499 and __ANDROID_API__ set to 8, utimensat and ftruncate appear in libc.so but not in the system headers. This patch seems to fix the problem, except for one part: REPLACE_UTIMENSAT is not defined. Would adding: REPLACE_UTIMENSAT=1 to the "ac_cv_func_utimensat" = no