Difference between revisions of "Black&White Project/Automatic compilation/configure"

Jump to navigation Jump to search
no edit summary
(Created page with "In order to ease maintenance and readability of this very essential script in the build process, we have decided that ''configure.ac'' needed a major rewrite. Because this scr...")
 
Line 1: Line 1:
In order to ease maintenance and readability of this very essential script in the build process, we have decided that ''configure.ac'' needed a major rewrite.
In order to ease maintenance and readability of this very essential script in the build process, we have decided that ''configure.ac'' needed a major rewrite.
Because this script cascades everywhere towards the compilation chain, we will work on the rewrite in parrallel.
Because this script cascades everywhere towards the compilation chain, we will work on the rewrite in parallel.


To use the new compile script, do the following:
To use the new compile script, do the following:
Line 7: Line 7:
</pre>
</pre>
The ''configure.ac'' does not exist anymore in svn. A link to ''configure_orig.ac'' (previous version) is created by ''autogen.sh''.
The ''configure.ac'' does not exist anymore in svn. A link to ''configure_orig.ac'' (previous version) is created by ''autogen.sh''.
== Changes ==
* The new configure script will tend to a more standard autotools approach by changing options names.
* There are two main direction: static build or shared build.
* Each dependency (shared objects or archive) can be specified.
* Not found dependencies falls back to download/compile mode.
* Download/compile respects main direction.
* Each dependency can be explicitly compiled statically
== Options ==
=== ''--build-static'' (default: false) ===
'''variable''': ''STATIC_BUILD'' (bool)
Defines whether to build a static version or not.
There is no ''--build-shared'' option.
=== ''with-gecko-sdk='' ===
'''variable''': ''GECKO_SDK_PATH'' (path)
Sets path to the gecko-sdk.
List of dependencies
* zlib
* xapian
* icu
* sqlite
* c-ares
* clucene
* e2fsprogs (uuid)
* libmicrohttpd
* xulrunner-sdk
* xz
* aria2
7,801

edits

Navigation menu