* acinclude.m4: Fix '--with-screen' configure option.

This commit is contained in:
Andrew V. Samoilov 2005-01-11 09:16:52 +00:00
parent 205523301f
commit 33e157631c
2 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2005-01-11 Pavel S. Shirshov <me@pavelsh.pp.ru>
* acinclude.m4: Fix '--with-screen' configure option.
2004-12-30 Andrew V. Samoilov <sav@bcs.zp.ua>
* autogen.sh: Fix workaround for automake 1.5.

View File

@ -725,15 +725,15 @@ it doesn't work well])
AC_CHECK_LIB([slang], [SLang_init_tty], [MCLIBS="$MCLIBS -lslang"],
[with_screen=mcslang], ["$MCLIBS"])
fi
else
m4_if([$1], strict,
[if test $with_screen != slang; then
AC_MSG_ERROR([S-Lang library not found])
fi],
[MC_WITH_MCSLANG]
)
fi
m4_if([$1], strict,
[if test $with_screen != slang; then
AC_MSG_ERROR([S-Lang library not found])
fi],
[MC_WITH_MCSLANG]
)
_MC_WITH_XSLANG
])