configure: search for iconv_open as well as libiconv_open
authorAlexander Barton <alex@barton.de>
Fri, 15 Feb 2013 20:32:08 +0000 (21:32 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 15 Feb 2013 20:32:08 +0000 (21:32 +0100)
commitd0c9f4a692877d0a232499031f82413b02a45739
tree500fac381159c2b23abeaf8203bd6c4fcbfba224
parentd5763937ad8d482f3e62299428f8cb4b601c6ace
configure: search for iconv_open as well as libiconv_open

On some installations iconv_open() is actually libiconv_open().
iconv_open() is the glibc version while libiconv_open() is the libiconv
version. This patch enables ngIRCd to detect both cases.

Tested on OpenBSD 5.1.

Closes bug #151.
configure.ng