* configure.in: Add -lcurses (for use with S-Lang) to MCLIBS not

to LIBS.  Don't use unportable "grep -q", use "case" instead.
This commit is contained in:
Pavel Roskin 2001-09-11 20:04:33 +00:00
parent 34a95b4942
commit 4451b088b1
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2001-09-11 Pavel Roskin <proski@gnu.org>
* configure.in: Add -lcurses (for use with S-Lang) to MCLIBS not
to LIBS. Don't use unportable "grep -q", use "case" instead.
2001-09-10 Pavel Roskin <proski@gnu.org>
* configure.in: Only check for X if --with-tm-x-support has been

View File

@ -776,7 +776,7 @@ SLang*)
return 1;
return 0;
],
[LIBS="$LIBS -lcurses"
[MCLIBS="$MCLIBS -lcurses"
AC_DEFINE(USE_SETUPTERM, 1,
[Define to use function `setupterm'
from `curses' library in S-Lang])])
@ -844,9 +844,10 @@ doc/mc.1 doc/mcedit.1 doc/mcserv.8
intl/Makefile po/Makefile.in
],[sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile])
if echo "$screen_manager" | grep -q "SLang" ; then
screen_manager="${screen_manager}${slang_term}"
fi
case $screen_manager in
SLang*)
screen_manager="${screen_manager}${slang_term}" ;;
esac
echo "
Configuration: