Really disable charset module if iconv is not found.

On some systems CHARSET variable is set...

Thanks to Hoss for reporting it
This commit is contained in:
Alexey Sokolov
2013-01-27 01:19:45 +07:00
parent f661f2a002
commit 183a261e69
+1
View File
@@ -503,6 +503,7 @@ then
LIBS="$my_saved_LIBS"
fi
CHARSET=""
AC_CHECK_FUNC( iconv, CHARSET=1 )
AC_CHECK_LIB( iconv, iconv_open, LIBICONV=-liconv ; CHARSET=1 )
if test "x$CHARSET" = "x1"