
On Sat, Jun 20, 2009 at 02:29:02PM +0200, Matthias Kilian wrote:
Sat Jun 20 14:21:59 CEST 2009 Matthias Kilian
* Fix detection of libiconf. It's not enough to try to link against libiconv and look for a symbol iconv_open, because iconv may be installed in a way that internally renames iconv_foo to libiconv_foo in the library and adds corresponding #define iconv_foo libiconv_foo to iconv.h. This patch is needed on OpenBSD (but it's not enough, since cabal suffers from the same problem).
Oops! The last sentence is a little bit misleading. The real problem seems to be the way haskeline's Setup.hs tries to check for libiconv (it doesn't use /usr/local/lib and /usr/local/include for libraries and include files even if you pass them via environment in LDDFLAGS and CPPFLAGS to configure for a complete ghc buidl). Is there any reason for haskeline not using autoconf?