From: Simon Marlow Date: Thu, 25 Jun 2009 11:58:04 +0000 (+0000) Subject: not having iconv is not fatal on Windows X-Git-Tag: 2009-06-25~1 X-Git-Url: http://git.megacz.com/?p=ghc-base.git;a=commitdiff_plain;h=1783b994779ed67219c7f1985618acab9aaed8da not having iconv is not fatal on Windows --- diff --git a/configure.ac b/configure.ac index ce85ed0..9e43698 100644 --- a/configure.ac +++ b/configure.ac @@ -114,7 +114,11 @@ FP_SEARCH_LIBS_PROTO(iconv, iconv_close(cd);], iconv, [EXTRA_LIBS="$EXTRA_LIBS $ac_lib"], - [exit 1]) + [case `uname -s` in + MINGW*|CYGWIN*) exit 0;; + *) + AC_MSG_ERROR([iconv is required on non-Windows platforms]);; + esac]) AC_SUBST(EXTRA_LIBS) AC_CONFIG_FILES([base.buildinfo])