diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-12-07 17:51:21 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-12-07 19:48:16 +0100 |
commit | 1aad4689babec28f47b99666b303ab8bfffc3106 (patch) | |
tree | 04e82f39d983dfedfdbf25331380456187e096e7 /cui/source | |
parent | e56c274f815a9b0cc55489537fad8c59273d2c94 (diff) |
use config_xxx.h files instead of -DHAVE_XXX on the command line
As the latter does not quite scale, and also source files depending
on the setting/feature did not rebuild in case of a change.
There are intentionally more config_xxx.h files (so autoheader
from autotools is not used), so that a setting change does not force
automatically a rebuild of everything. Running configure does not
touch those config_xxx.h files that have not changed.
There's config/README with a howto.
Change-Id: I6d6e82050ff8faf5364ed246848b8401aca3e0e5
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/optmemory.cxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 098b550982c7..8f8e664b59bb 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -89,6 +89,8 @@ #include <svtools/apearcfg.hxx> #include <svtools/optionsdrawinglayer.hxx> +#include <config_vclplug.h> + using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::beans; diff --git a/cui/source/options/optmemory.cxx b/cui/source/options/optmemory.cxx index 9fd2c2b04062..e5c43f79cf11 100644 --- a/cui/source/options/optmemory.cxx +++ b/cui/source/options/optmemory.cxx @@ -59,6 +59,8 @@ #include "helpid.hrc" #include <dialmgr.hxx> +#include <config_vclplug.h> + using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::beans; |