COMP: compiling setSet directly (without Allwmake) now works

This commit is contained in:
Mark Olesen
2010-02-22 13:51:17 +01:00
parent ca7a624fec
commit 91967fb196
2 changed files with 9 additions and 5 deletions

View File

@ -1,15 +1,17 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
READLINE=0
if [ -f /usr/include/readline/readline.h ]
then
echo "Found readline/readline.h -- enabling readline support."
READLINE=1
export READLINE=1
export READLINELINK="-lreadline -lncurses"
break
else
# no readline/readline.h -- disabling readline support
export READLINE=0
unset READLINELINK
fi
export READLINE
wmake
# ----------------------------------------------------------------- end-of-file