Re: Follow up to last post

2023-01-18 Thread Po Lu
Paul Eggert writes: > On 1/18/23 05:53, Po Lu wrote: >> + gl_CHECK_FUNCS_ANDROID([utimensat], [[#include ]]) >> if test $ac_cv_func_utimensat = no; then >> HAVE_UTIMENSAT=0 >> +REPLACE_UTIMENSAT=1 > > REPLACE_UTIMENSAT=1 means utimensat is present but broken and needs to > be repla

Re: Follow up to last post

2023-01-18 Thread Paul Eggert
On 1/18/23 05:53, Po Lu wrote: + gl_CHECK_FUNCS_ANDROID([utimensat], [[#include ]]) if test $ac_cv_func_utimensat = no; then HAVE_UTIMENSAT=0 +REPLACE_UTIMENSAT=1 REPLACE_UTIMENSAT=1 means utimensat is present but broken and needs to be replaced. However, $ac_cv_func_utimensat =

Follow up to last post

2023-01-18 Thread Po Lu
Okay, the problem seems to be a little more involved than I initially thought. Apparently, it is not ok to use gl_CHECK_FUNCS_ANDROID without removing utimensat from AC_CHECK_FUNCS_ONCE, because the latter will define HAVE_UTIMENSAT, leading to a build failure later (I only found this after runnin