On Thu, Oct 02, 2003 at 03:19:49PM +0000, Angus Leeming spake thusly: ...
> > 2) Then, in the makefiles of src and src/tex2lyx I had to add to > > LDFLAGS: > > -lpthread -lstlport_gcc > > (I didn't find a way to do that in configure) > > CXXFLAGS_STLPORT=... > LDFLAGS_STLPORT=... > ./configure CXXFLAGS=${CXXFLAGS_STLPORT} LDFLAGS=${LDFLAGS_STLPORT} > > Best to wrap all this up inside a little configure_stlport script. ... > > Would it be very hard to get this into the config system? > > I don't think that there is any point. You only need to build the STLport > iostreams library once. As for passing options to configure and setting > LD_LIBRARY_PATH, well you should definitely use the little wrapper script > approach. Undoubtedly can be made to work... but it is 'politically' wise? If we go the way that Lars proposed and recommend people sticking to 2.95 to install and use stlport, than even the little extra hassle of writing/editing a configure_stlport script when a simple --use-stlport option to configure would be the 'least surprise' expectation, is too much. (And yes, I know this is for developers, not end users. But that includes, e.g., distribution packagers handling hundreds of packages and both unfamiliar with and uninterested in the LyX config/install system's idiosyncrasies.) ... > Angus - Martin
pgp00000.pgp
Description: PGP signature