print "no" if iconv() is not found. do not break configure if iconv() is not
authorLubomir Sedlacik <salo@silcnet.org>
Fri, 25 Oct 2002 00:54:18 +0000 (00:54 +0000)
committerLubomir Sedlacik <salo@silcnet.org>
Fri, 25 Oct 2002 00:54:18 +0000 (00:54 +0000)
good enough, just recommend using libiconv.

configure.in.pre

index a9044806d458ccba531b2f9664e1af77425d9b59..6bc96a41697578768ac36cd3ab118f9c2c25b91a 100644 (file)
@@ -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