From 5726b52013f1886b552a983e8cf9d44c49618bce Mon Sep 17 00:00:00 2001 From: Sawan Vithlani Date: Sun, 12 Apr 2015 11:30:40 +1000 Subject: [PATCH] Update INSTALLATION.md --- INSTALLATION.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/INSTALLATION.md b/INSTALLATION.md index a093660..4500875 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -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).