Improving Mac installation instructions.

This commit is contained in:
Martin Dvorak 2015-02-24 21:20:15 +01:00
parent 8a892d0bb9
commit ba5a9c822f

View file

@ -98,14 +98,11 @@ port install readline
port install ncurses port install ncurses
``` ```
Set the environment: Build and install:
```bash ```bash
env CFLAGS="-I/opt/local/include -I/usr/include" LDFLAGS="-L/opt/local/lib -L/usr/lib" ./configure autoreconf -fvi
``` ./configure CFLAGS=-I$(brew --prefix)/opt/readline/include LDFLAGS=-L$(brew --prefix)/opt/readline/lib
make
Finish the installation
```bash
make && make install
``` ```
Optionally [configure](CONFIGURATION.md) `hh` and check its [man page](README.md#documentation). Optionally [configure](CONFIGURATION.md) `hh` and check its [man page](README.md#documentation).