From: Lubomir Sedlacik Date: Fri, 25 Oct 2002 00:54:18 +0000 (+0000) Subject: print "no" if iconv() is not found. do not break configure if iconv() is not X-Git-Tag: silc.server.0.9.8~50 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=95e923c08444a09b1bd53c20bec89c89fff8409b print "no" if iconv() is not found. do not break configure if iconv() is not good enough, just recommend using libiconv. --- diff --git a/configure.in.pre b/configure.in.pre index a9044806..6bc96a41 100644 --- a/configure.in.pre +++ b/configure.in.pre @@ -639,8 +639,11 @@ if test x$check_iconv = xtrue; then [ echo "yes" AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.]) - has_iconv=true - check_iconv=true + has_iconv=true + check_iconv=false + ], + [ + echo "no" ]) ]) fi @@ -690,6 +693,7 @@ if test x$check_iconv = xtrue; then AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.]) ], [ + echo "no" has_iconv=false ]) ]) @@ -732,7 +736,7 @@ if test x$has_iconv = xtrue; then ) if test x$ac_iconv_good = xno; then - AC_MSG_ERROR(Try using libiconv instead.) + AC_MSG_RESULT(Try using libiconv instead.) fi fi