Re: API levels and functions on Android

2023-01-19 Thread Bruno Haible
Paul Eggert wrote: > > Defining REPLACE_GLOB=1 despite HAVE_GLOB=0 will be the way to make Gnulib > > define 'rpl_glob' instead of 'glob', so that there is no conflict with > > libc.so. > > > > I still need to work out the details how this would/will work. So as to > > do things correctly on Andr

Re: API levels and functions on Android

2023-01-18 Thread Paul Eggert
On 1/18/23 15:23, Bruno Haible wrote: Defining REPLACE_GLOB=1 despite HAVE_GLOB=0 will be the way to make Gnulib define 'rpl_glob' instead of 'glob', so that there is no conflict with libc.so. I still need to work out the details how this would/will work. So as to do things correctly on Android,

Re: API levels and functions on Android

2023-01-18 Thread Bruno Haible
Paul Eggert 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_utim