From koffice-devel Wed Nov 27 21:54:43 2002 From: Nicolas Goutte Date: Wed, 27 Nov 2002 21:54:43 +0000 To: koffice-devel Subject: Re: [Bug 51209] koffice requires libfl but configure doesn't check that X-MARC-Message: https://marc.info/?l=koffice-devel&m=103843430613515 While reading the info page of automake, I have found the solution. ( info:/autoconf/Particular Programs ) It is to automake to decide which library is needed whetver the flex one = or=20 the lex one. ( AC_PROG_LEX ) So the -lfl should be removed also from the KOFFICE_1_2_BRANCH, if it is = not=20 done already. (Can anybody do it?) And now I also understand why KDEPIM using bison directly is bad. The rea= son=20 is that automake has a check for yacc too. ( AC_PROG_YACC ) So perhaps th= e=20 future Latex import filter should use yacc too for wider compactibility,=20 especially with non-GNU systems. Have a nice day/evening/night! On Tuesday 26 November 2002 23:45, David Faure wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tuesday 26 November 2002 18:16, Nicolas Goutte wrote: > > > Are you sure ? The latex import filter _uses_ flex (in cvs) and wil= l > > > use bison (version on my pc, not yet commited). > > So do many other parts of KDE. The generated files are committed to CVS= , > and there's no compile-time requirement. None of that code needs -lfl > though. Using flex and requiring libfl are two different things. What d= oes > libfl offer? > > - -- > David FAURE, david@mandrakesoft.com, faure@kde.org > http://people.mandrakesoft.com/~david/ > Contributing to: http://www.konqueror.org/, http://www.koffice.org/ > Get the latest KOffice - http://download.kde.org/stable/koffice-1.2/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.7 (GNU/Linux) > > iD8DBQE94/mQ72KcVAmwbhARAtF5AKCihql+KF5vrIe2SIq6YFuCb0zcbgCeIJ/B > 7NaBiAUMfH5MbZQ9hDYfAsE=3D > =3DzZ2C > -----END PGP SIGNATURE----- > > _______________________________________________ > koffice-devel mailing list > koffice-devel@mail.kde.org > http://mail.kde.org/mailman/listinfo/koffice-devel _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/koffice-devel