Only print a warning if hunspell is detected, but the test program fails to

compile or work.

Originally committed to SVN as r2122.
This commit is contained in:
Amar Takhar 2008-03-23 15:56:50 +00:00
parent d9ea5d272c
commit 0bb2c0733e
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ int main(void) {
return 0;
])
if test "$agi_with_hunspell" = "no"; then
if test "$agi_with_hunspell" = "no" && test "$with_hunspell" = "yes"; then
AC_MSG_WARN([Hunspell detected, but it doesn't work..])
fi