can call Allwmake scripts directly instead of with ( cd foo && ./Allwmake )

This commit is contained in:
Mark Olesen
2008-11-05 10:39:06 +01:00
parent 9705520e24
commit 5d0b3348c5
9 changed files with 33 additions and 26 deletions

View File

@ -2,8 +2,9 @@
cd ${0%/*} || exit 1 # run from this directory
READLINE=0
if [ -f /usr/include/readline/readline.h ]; then
echo "Found readline/readline.h include file. Enabling readline support."
if [ -f /usr/include/readline/readline.h ]
then
echo "Found readline/readline.h -- enabling readline support."
READLINE=1
export READLINELINK="-lreadline -lncurses"
break