Re: [xml] Using libiconv



On Tue, Jul 03, 2001 at 10:45:15AM -0500, xml thewrittenword com wrote:
On Tue, Jul 03, 2001 at 10:40:50AM -0400, Daniel Veillard wrote:
On Tue, Jul 03, 2001 at 09:13:25AM -0500, xml thewrittenword com wrote:
Then how about we add --with-iconv=DIR which allows you to specify the
parent include/lib directory for iconv? All this would really do is
add DIR/include to $CPPFLAGS and DIR/lib to $LDFLAGS.

  Albert, this sounds the Right Way (TM), would you be kind enough
to provide such a patch ?

Ok, how's the following?

  Far more complex than what's I'm able to debug in autoconf ! But as long
as this works, I don't care.

I tested on Solaris 7/SPARC and it seems to
work fine (with system iconv and libiconv 1.6.1).

  Works fine on linux/RedHat here:
  checking for iconv.h... yes
  checking for iconv... yes
  
Should we change the --with-iconv description in ./configure --help?

    --with-iconv[=DIR]      Add ICONV support (on)

  looks clear enough to me ...

   thanks a lot !

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
Sep 17-18 2001 Brussels Red Hat TechWorld http://www.redhat-techworld.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]