Skip to content

Emscripten 6.0.6 passes autoconf check for getwd as yes, but it's not available in reality #27583

Description

@vadimkantorov

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:

Image

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions