RFE: allow using system versions of TinyXML and tolua++

Create issue
Issue #198 resolved
Former user created an issue

Automatic migration. Original reporter: "HansdeGoede"

Short intro: I'm a Fedora developer and the maitainer of the Fedora cegui packages.

I've just finished updating our packages to 0.6.0, while doing this update I noticed that cegui ships with its own copies of TinyXML and tolua++, as per Fedora's policies I've modified cegui to link against the system installed versions instead (we want only one copy of a lib in our repositories, so that we have one central place to maintain it).

It would be nice if the possibility to link against system versions of these libraries could be added as ./configure options.

I'll attach the 2 patches currently used to build against the system versions in Fedora. Note that these are examples of what is needed todo this, I think you do not want to apply these as is, as they are currently not conditional.

Reproducibility: always

Additional information: Note if you want to try these patches, you need to apply them on top of the patches from my other 2 tickets: http://www.cegui.org.uk/mantis/view.php?id=196 http://www.cegui.org.uk/mantis/view.php?id=197

Comments (1)

  1. Paul Turner

    SVN branches/v0-6 at rev. 1725.

    I have implemented this functionality.

    The configure script will now prefer the use of installed system versions of the tolua++ and TinyXML libraries (as it should be). If installed system versions of these libraries can not be found, then the CEGUI packaged versions are used as before.

    The behavior can be overridden by the use of --disable-external-toluapp and --disable-external-tinyxml options to force the use of the internal versions of tolua++ and TinyXML respectively.

    There are also --with-tinyxml-incdir, --with-tinyxml-libdir, --with-toluapp-incdir and --with-toluapp-libdir options to point the configure script to the correct location if the files are installed in 'abnormal' locations.

  2. Log in to comment