#!/bin/sh READLINE=0 if [ -f /usr/include/readline/readline.h ]; then echo "Found readline/readline.h include file. Enabling readline support." READLINE=1 export READLINELINK="-lreadline -lncurses" break fi export READLINE wmake