* configure.in: Add -lcurses (for use with S-Lang) to MCLIBS not
to LIBS. Don't use unportable "grep -q", use "case" instead.
Этот коммит содержится в:
родитель
34a95b4942
Коммит
4451b088b1
@ -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
|
||||
|
@ -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:
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user