* configure.in: Fix interpretation of the iconv test result.

Reported by Pavel Shirshov <pavelsh@mail.ru>
This commit is contained in:
Pavel Roskin 2002-08-25 22:17:07 +00:00
parent bed1fbf3b7
commit 4a08acf9d8
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2002-08-25 Pavel Roskin <proski@gnu.org>
* configure.in: Fix interpretation of the iconv test result.
Reported by Pavel Shirshov <pavelsh@mail.ru>
* mc.sh.in: Only bash needs the mc() function to be exported.
* doc/pl/mc.1.in: Add node names and options. Use @prefix@

View File

@ -644,7 +644,7 @@ AC_ARG_ENABLE([charset],
[--enable-charset Support for charset selection and conversion])
have_charset=
if test "x$enable_charset" = xyes; then
if test -z "$am_cv_func_iconv"; then
if test "x$am_cv_func_iconv" != xyes; then
AC_MSG_WARN([Cannot enable charset support because iconv function is missing])
else
AC_DEFINE(HAVE_CHARSET, 1,