about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2013-02-15 21:59:28 +0100
committerAlexander Barton <alex@barton.de>2013-02-15 21:59:28 +0100
commit2c96966431d99ce611736ed841e813c1fac6df8c (patch)
tree984013ca60f35c370bd9163dc8368f2d9a9b2cdf
parent65359ff8f722efdf24700ce05011afc0fef28924 (diff)
parentd0c9f4a692877d0a232499031f82413b02a45739 (diff)
downloadngircd-2c96966431d99ce611736ed841e813c1fac6df8c.tar.gz
ngircd-2c96966431d99ce611736ed841e813c1fac6df8c.zip
Merge branch 'bug151-iconv' into master
* bug151-iconv:
  configure: search for iconv_open as well as libiconv_open
-rw-r--r--configure.ng5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ng b/configure.ng
index c0309965..6c28f39a 100644
--- a/configure.ng
+++ b/configure.ng
@@ -528,7 +528,10 @@ if test "$x_ircplus_on" = "yes"; then
 			fi
 			AC_CHECK_LIB(iconv, iconv_open)
 			AC_CHECK_FUNCS(iconv_open, x_iconv_on=yes,
-				AC_MSG_ERROR([Can't enable libiconv support!])
+				AC_CHECK_LIB(iconv, libiconv_open)
+				AC_CHECK_FUNCS(libiconv_open, x_iconv_on=yes,
+					AC_MSG_ERROR([Can't enable libiconv support!])
+				)
 			)
 		  fi
 		]