On 1/18/23 05:53, Po Lu wrote:
+ gl_CHECK_FUNCS_ANDROID([utimensat], [[#include <sys/stat.h>]]) 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 = no means utimensat is absent. So I'm puzzled as to why REPLACE_UTIMENSAT=1 would be appropriate here.