X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=configure.ng;h=6c28f39a9e0ed81937a65f2b04cdc96012fc3613;hp=034b565305232131f5e63126c49cab0a7768a150;hb=19d6f4740eb6dc058f02379b0abca96b94eb8159;hpb=fd260404caa7ce174ada663024d19cd789c152b5 diff --git a/configure.ng b/configure.ng index 034b5653..6c28f39a 100644 --- a/configure.ng +++ b/configure.ng @@ -519,7 +519,7 @@ if test "$x_ircplus_on" = "yes"; then x_iconv_on=no AC_ARG_WITH(iconv, AS_HELP_STRING([--with-iconv], - [enable character conversation using libiconv]), + [enable character conversion using libiconv]), [ if test "$withval" != "no"; then if test "$withval" != "yes"; then CFLAGS="-I$withval/include $CFLAGS" @@ -528,7 +528,10 @@ if test "$x_ircplus_on" = "yes"; then fi AC_CHECK_LIB(iconv, iconv_open) AC_CHECK_FUNCS(iconv_open, x_iconv_on=yes, - AC_MSG_ERROR([Can't enable libiconv support!]) + AC_CHECK_LIB(iconv, libiconv_open) + AC_CHECK_FUNCS(libiconv_open, x_iconv_on=yes, + AC_MSG_ERROR([Can't enable libiconv support!]) + ) ) fi ]