Details
Description
GNU/Hurd doesn't have PATH_MAX (and POSIX does not require this define be available).
The attached patch probes via configure to see if getcwd can allocate a string of appropriate size itself and, if so, uses that capability, which will allow the package to build on Hurd. If that capability is not available, it falls back to the old behavior.
Patch from Svante Signell <svante.signell@gmail.com>.