From 95e923c08444a09b1bd53c20bec89c89fff8409b Mon Sep 17 00:00:00 2001 From: Lubomir Sedlacik Date: Fri, 25 Oct 2002 00:54:18 +0000 Subject: [PATCH] print "no" if iconv() is not found. do not break configure if iconv() is not good enough, just recommend using libiconv. --- configure.in.pre | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 -- 2.24.0