Update INSTALLATION.md

This commit is contained in:
Sawan Vithlani 2015-04-12 11:30:40 +10:00
parent e3938d53c7
commit 5726b52013

View file

@ -104,11 +104,18 @@ port install readline
port install ncurses
```
Build and install:
Build and install (if using Homebrew):
```bash
autoreconf -fvi
./configure CFLAGS=-I$(brew --prefix)/opt/readline/include LDFLAGS=-L$(brew --prefix)/opt/readline/lib
make
```
Alternative if using MacPorts:
```bash
autoreconf -fvi
./configure CFLAGS=-I/opt/local/include/ LDFLAGS=-L/opt/local/lib
make
```
Optionally [configure](CONFIGURATION.md) `hh` and check its [man page](README.md#documentation).