Re: freeTDS 0.91RC2 under MinGW

Stuart Henderson <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
> On Mon, Jun 13, 2011 at 4:12 AM, Sergio NNX <[email protected]> wrote:
>> After trying to build freeTDS 0.91RC2, I built other app which require iconv
>> library without any problem. If I build freeTDS 0.82 with exactly the same
>> setup I have got now, it builds ok. Therefore, something is not right with
>> the new version of freeTDS.

FreeTDS' m4/iconv.m4 is rather old, you could try updating it to the
iconv.m4 that comes with a newer gettext version (their file is now
in gettext-runtime/m4/iconv.m4).

Or you might be lucky and get away with a smaller change like this ...

--- m4/iconv.m4.orig	Fri Nov  5 10:19:02 2010
+++ m4/iconv.m4	Fri Nov  5 10:21:23 2010
@@ -71,6 +71,7 @@ AC_DEFUN([AM_ICONV_LINK],
     LIBICONV=
     LTLIBICONV=
   fi
+  LIBICONV=${LTLIBICONV}
   AC_SUBST(LIBICONV)
   AC_SUBST(LTLIBICONV)
 ])
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.