Fixed iconv detection for BSD (patch #5456)

This commit is contained in:
Sebastien Helleu 2006-10-12 16:42:35 +00:00
parent e4ad664010
commit 481e6f8e7f
4 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,7 @@ ChangeLog - 2006-10-12
Version 0.2.2 (under dev!):
* fixed iconv detection for BSD (patch #5456)
* fixed typo in configure.in (bash specific test) (patch #5450)
* mode changes with /op, /deop, /voice, /devoice, /halfop, /dehalfop are
now sent in one mode command to server (task #5968)

View File

@ -198,6 +198,9 @@ iconv_found="no"
AC_CHECK_HEADER(iconv.h,ac_found_iconv_header="yes",ac_found_iconv_header="no")
if test "x$ac_found_iconv_header" = "xyes" ; then
AC_CHECK_LIB(iconv,iconv_open,ac_found_iconv_lib="yes",ac_found_iconv_lib="no")
if test "x$ac_found_iconv_lib" = "xno" ; then
AC_CHECK_LIB(iconv,libiconv_open,ac_found_iconv_lib="yes",ac_found_iconv_lib="no")
fi
if test "x$ac_found_iconv_lib" = "xyes" ; then
LIBS="$LIBS -liconv"
fi

View File

@ -5,6 +5,7 @@ ChangeLog - 2006-10-12
Version 0.2.2 (under dev!):
* fixed iconv detection for BSD (patch #5456)
* fixed typo in configure.in (bash specific test) (patch #5450)
* mode changes with /op, /deop, /voice, /devoice, /halfop, /dehalfop are
now sent in one mode command to server (task #5968)

View File

@ -198,6 +198,9 @@ iconv_found="no"
AC_CHECK_HEADER(iconv.h,ac_found_iconv_header="yes",ac_found_iconv_header="no")
if test "x$ac_found_iconv_header" = "xyes" ; then
AC_CHECK_LIB(iconv,iconv_open,ac_found_iconv_lib="yes",ac_found_iconv_lib="no")
if test "x$ac_found_iconv_lib" = "xno" ; then
AC_CHECK_LIB(iconv,libiconv_open,ac_found_iconv_lib="yes",ac_found_iconv_lib="no")
fi
if test "x$ac_found_iconv_lib" = "xyes" ; then
LIBS="$LIBS -liconv"
fi