Checking for iconv(3) in separate libiconv

(this can happen on FreeBSD)
This commit is contained in:
Thomas Schmitt 2009-02-04 20:57:20 +01:00
parent 64a9b79224
commit f66e3b8e2f
1 changed files with 4 additions and 0 deletions

View File

@ -84,6 +84,10 @@ if test ! $ac_cv_func_fseeko; then
AC_MSG_ERROR([Libisofs requires largefile support.])
fi
dnl If iconv(3) is in an extra lib, then it gets added to variable LIBS.
dnl If not, then no -liconv will be added.
AC_CHECK_LIB(iconv, iconv, , )
AC_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
LIBTOOL="$LIBTOOL --silent"