Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: 3.1.6-dev-20: runtime determination of MACHTYPE



Clint Adams wrote:
>This patch allows zsh to determine MACHTYPE at run-time, rather
>than from the configure results of the build-machine, assuming
>uname(2) is available.

It's not that easy.  Look at config.guess: $MACHTYPE is not always
the same as `uname -m`.  Leave $MACHTYPE being compiled in as it was.
If you want access to the runtime uname strings without forking off a
uname process, invent a new special parameter.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author