configuring-the-build
Installation
SKILL.md
Overview
The build works like this:
-
We start by running
./autogen.shautogen.shrunsautoconfto turnconfigure.acintoconfigureautogen.shalso runsautomaketo turnMakefile.amintoMakefile.inandsrc/Makefile.amintosrc/Makefile.in
-
We then run
./configureconfigureturnsMakefile.inintoMakefileandsrc/Makefile.inintosrc/Makefileconfigurealso turnsconfig.h.inintoconfig.hthat contains some variablesconfigurealso writesconfig.log, if there are errors they will be there
-
ALWAYS run
./autogen.shand./configurefrom top-level, never a subdirectory -
ALWAYS configure with
--enable-ccachefor caching -
ALWAYS configure with
--enable-sdfprefsto inhibit noisy build output -
NEVER edit
configuredirectly, only ever editconfigure.ac -
NEVER edit
MakefileorMakefile.indirectly, only ever editMakefile.am
To change configuration settings, re-run ./configure with new flags.