projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d1bee2
)
not having iconv is not fatal on Windows
author
Simon Marlow
<marlowsd@gmail.com>
Thu, 25 Jun 2009 11:58:04 +0000
(11:58 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Thu, 25 Jun 2009 11:58:04 +0000
(11:58 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
ce85ed0
..
9e43698
100644
(file)
--- 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])