--- configure.ac.orig	2017-10-03 11:28:52.000000000 -0600
+++ configure.ac	2017-10-03 11:29:23.000000000 -0600
@@ -212,7 +212,7 @@
 AC_SUBST(SOCKET_LIBS)
 
 ### Check for iconv
-AC_CHECK_LIB(iconv, iconv, [ICONV_LIBS="-liconv"
+AC_CHECK_LIB(iconv, libiconv, [ICONV_LIBS="-liconv"
 AC_DEFINE(LIBICONV, 1,[Check for libiconv])], AC_MSG_RESULT([not necessary]))
 AC_SUBST(ICONV_LIBS)