How to disable any feature of libreoffice and build it again on Linux

I have built Libreoffice4.0.2.2 on Ubuntu. Now my requirement is to disable any feature of Libreoffice in code and build it again to check if that feature is disabled in installer. Any idea how to approach?

This is a question better suited for the development list. If you still have not figured out the answer to your question in the intervening 16 months, then consider joining the developer’s mailing list. Search for “Mailing List” on the Developers page.