At least at https://github.com/TeX-Live/texlive-source/tree/tags/texlive-2023.0, autoconf-generated standard configure produces ac_cv_func_getwd=yes:
I suggest it should be somehow fixed to fail this autoconf check (AC_CHECK_FUNCS([getwd]) passes under Emscripten?
If can't be fixed, could introduce some flag to emconfigure for it to append the hack ac_cv_func_getwd=no (or provide an autoconf cache file with all these known overrides), or document it somewhere (as part of autoconf checks which are known to be buggy under Emscripten)
At least at https://github.com/TeX-Live/texlive-source/tree/tags/texlive-2023.0, autoconf-generated standard configure produces
ac_cv_func_getwd=yes:I suggest it should be somehow fixed to fail this autoconf check (
AC_CHECK_FUNCS([getwd])passes under Emscripten?If can't be fixed, could introduce some flag to
emconfigurefor it to append the hackac_cv_func_getwd=no(or provide an autoconf cache file with all these known overrides), or document it somewhere (as part of autoconf checks which are known to be buggy under Emscripten)