projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add iconv as an extra library on platform that need to link with it
[ghc-base.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
b66966e
..
c261c05
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-102,4
+102,10
@@
FP_CHECK_CONST([O_BINARY], [#include <fcntl.h>], [0])
# Check for idiosyncracies in some mingw impls of directory handling.
FP_READDIR_EOF_ERRNO
# Check for idiosyncracies in some mingw impls of directory handling.
FP_READDIR_EOF_ERRNO
+AC_CHECK_LIB(iconv, iconv_open,
+ [EXTRA_LIBS="$EXTRA_LIBS iconv"])
+
+AC_SUBST(EXTRA_LIBS)
+AC_CONFIG_FILES([base.buildinfo])
+
AC_OUTPUT
AC_OUTPUT