>>>>> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>>>>> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> After having been away for a couple weeks, I now find that Bennett> tex2lyx does not compile for me on Mac OS X. I get: Bennett> If I add "-liconv" to the LDFLAGS line, everything works. Do Bennett> I now need to set LDFLAGS explicitly to include iconv at Bennett> configure time, or shouldn't that be necessary? Jean-Marc> Hello Bennett, Jean-Marc> Try the following patch. Or rather this one: we should not rely on INTLLIBS containing -liconv, since we may compile without nls enabled. Lars, does this sound right? JMarc
Index: src/tex2lyx/Makefile.am =================================================================== --- src/tex2lyx/Makefile.am (revision 14810) +++ src/tex2lyx/Makefile.am (working copy) @@ -57,7 +57,7 @@ tex2lyx_SOURCES = \ tex2lyx_LDADD = \ $(top_builddir)/src/support/libsupport.la \ - $(BOOST_LIBS) $(COMPRESSIONLIB) + $(BOOST_LIBS) $(LIBICONV) $(COMPRESSIONLIB) $(LINKED_FILES) : @rm -f $@ ; \ Index: src/Makefile.am =================================================================== --- src/Makefile.am (revision 14810) +++ src/Makefile.am (working copy) @@ -27,7 +27,7 @@ LYX_POST_LIBS = frontends/controllers/li BOOST_LIBS = $(BOOST_REGEX) $(BOOST_SIGNALS) $(BOOST_FILESYSTEM) $(BOOST_IOSTREAMS) -OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@ $(SOCKET_LIBS) +OTHERLIBS = $(BOOST_LIBS) $(LIBICONV) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@ $(SOCKET_LIBS) bin_PROGRAMS = lyx noinst_PROGRAMS = $(FRONTENDS_PROGS)