diff options
author | Carlo Cabrera <30379873+carlocab@users.noreply.github.com> | 2021-11-23 21:57:02 +0800 |
---|---|---|
committer | Carlo Cabrera <30379873+carlocab@users.noreply.github.com> | 2021-11-23 21:57:02 +0800 |
commit | 315d862e22ee9d41a897d76a0297b67b877a3960 (patch) | |
tree | 02cad90dd1dac5d10b9545d9224ac2b480778090 /src/ui | |
parent | 9a9122c148a8462eb612c7a28ab0f2e3f2f0464e (diff) | |
download | profani-tty-315d862e22ee9d41a897d76a0297b67b877a3960.tar.gz |
Make readline check more portable
Currently, `configure.ac` assumes Readline is installed via Homebrew in `/usr/local`. This doesn't work for Homebrew on Apple Silicon, or MacPorts. Let's fix this by checking for a `brew` installation, and querying that for Readline's prefix if available. If not, it checks for an existing MacPorts prefix, and finally falls back to checking `/usr/local` in case a user installed Readline for themselves there.
Diffstat (limited to 'src/ui')
0 files changed, 0 insertions, 0 deletions