From f66e3b8e2f0d2633e10e1fc2a4c3c1d19d565aa6 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 4 Feb 2009 20:57:20 +0100 Subject: [PATCH] Checking for iconv(3) in separate libiconv (this can happen on FreeBSD) --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 10ae679..6e79a34 100644 --- a/configure.ac +++ b/configure.ac @@ -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"