Commit 936d5848 authored by Natanael Copa's avatar Natanael Copa

main/znc: remove unused libiconv

parent 282b5672
......@@ -10,7 +10,7 @@ license="ASL 2.0"
depends=""
depends_dev=""
makedepends="perl-dev openssl-dev cyrus-sasl-dev python-dev c-ares-dev swig
gettext-dev libiconv-dev tcl-dev autoconf automake"
gettext-dev tcl-dev autoconf automake"
install="$pkgname.pre-install"
pkgusers="$pkgname"
subpackages="$pkgname-dev $pkgname-doc $pkgname-extra $pkgname-modtcl
......
--- ./configure.ac.orig
+++ ./configure.ac
@@ -504,7 +504,13 @@
fi
AC_CHECK_FUNC( iconv, CHARSET=1 )
-AC_CHECK_LIB( iconv, iconv_open, LIBICONV=-liconv ; CHARSET=1 )
+dnl On some systems iconv is in a separate library, and may actually
+dnl be named libiconv.
+AC_CHECK_LIB( iconv, libiconv_open, LIBICONV=-liconv ; CHARSET=1 )
+if test $ac_cv_lib_iconv_libiconv = no; then
+ AC_CHECK_LIB( iconv, iconv_open, LIBICONV=-liconv ; CHARSET=1 )
+fi
+
if test "x$CHARSET" = "x1"
then
AC_MSG_CHECKING([whether iconv expects a const second argument])
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment