Fixed hunspell support in Linux.

Originally committed to SVN as r1110.
This commit is contained in:
Rodrigo Braz Monteiro 2007-04-22 04:21:19 +00:00
parent a05cf649fe
commit 31fac78388
1 changed files with 3 additions and 2 deletions

View File

@ -68,8 +68,9 @@ ACX_PTHREAD([], [
AC_CHECK_LIB([portaudio], [Pa_Initialize],, [AC_MSG_ERROR([portaudio not found.])])
AC_CHECK_FUNCS([Pa_GetStreamTime])
AC_CHECK_LIB([avcodec], [avcodec_init])
AC_CHECK_LIB([avformat], [av_read_frame])
AC_CHECK_LIB([avcodec], [avcodec_init],, [AC_MSG_ERROR([avcodec not found.])])
AC_CHECK_LIB([avformat], [av_read_frame],, [AC_MSG_ERROR([avformat not found.])])
AC_CHECK_LIB([hunspell], [main],, [AC_MSG_ERROR([Hunspell not found.])])
AC_CHECK_HEADER([wchar.h],,[
AC_MSG_FAILURE([aegisub needs wide character support, find a wchar.h])