From: Wilfried Göesgens Date: Sat, 3 Oct 2009 20:01:00 +0000 (+0000) Subject: * use libiconv test from libcitadel, it seems to be more acurate on solaris. X-Git-Tag: v7.86~807 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=11b5e3ef407c68309b3c4a25390dc363b651dc49 * use libiconv test from libcitadel, it seems to be more acurate on solaris. --- diff --git a/webcit/configure.ac b/webcit/configure.ac index 288d49734..7a5d408a7 100644 --- a/webcit/configure.ac +++ b/webcit/configure.ac @@ -116,6 +116,7 @@ dnl libcitadel will bring libz, so we don't need it here. LDFLAGS="-lz $LDF AC_DEFINE(HAVE_ZLIB, [], [define this if you have zlib compression available]) fi + dnl Here is the check for a libc integrated iconv AC_ARG_ENABLE(iconv, [ --disable-iconv do not use iconv charset conversion], @@ -166,12 +167,13 @@ if test "$ok_iconv" = no; then ) fi if test "$ok_iconv" != "no"; then - AC_MSG_RESULT(WebCit will be built with character set conversion.) + AC_MSG_RESULT(libcitadel will be built with character set conversion.) AC_DEFINE(HAVE_ICONV,[],[whether we have iconv for charset conversion]) else - AC_MSG_RESULT(WebCit will be built without character set conversion.) + AC_MSG_RESULT(libcitadel will be built without character set conversion.) fi + AC_CHECK_LIB(intl, libintl_bindtextdomain, [LDFLAGS="$LDFLAGS -lintl"])