18 lines
449 B
Bash
Executable File
18 lines
449 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # run from this directory
|
|
|
|
if [ -f /usr/include/readline/readline.h ]
|
|
then
|
|
echo "Found readline/readline.h -- enabling readline support."
|
|
export READLINE=1
|
|
export READLINELINK="-lreadline -lncurses"
|
|
else
|
|
# no readline/readline.h -- disabling readline support
|
|
export READLINE=0
|
|
unset READLINELINK
|
|
fi
|
|
|
|
wmake
|
|
|
|
# ----------------------------------------------------------------- end-of-file
|