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 /extensions | |
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 'extensions')
-rw-r--r-- | extensions/source/plugin/inc/plugin/unx/plugcon.hxx | 2 | ||||
-rw-r--r-- | extensions/source/plugin/unx/npnapi.cxx | 2 | ||||
-rw-r--r-- | extensions/source/plugin/unx/npwrap.cxx | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/extensions/source/plugin/inc/plugin/unx/plugcon.hxx b/extensions/source/plugin/inc/plugin/unx/plugcon.hxx index 8c7175f99e6b..cdb8b39f445f 100644 --- a/extensions/source/plugin/inc/plugin/unx/plugcon.hxx +++ b/extensions/source/plugin/inc/plugin/unx/plugcon.hxx @@ -92,6 +92,8 @@ extern "C" { #endif #endif +#include <config_vclplug.h> + #ifdef ENABLE_GTK #include <gtk/gtk.h> #include <gdk/gdkx.h> diff --git a/extensions/source/plugin/unx/npnapi.cxx b/extensions/source/plugin/unx/npnapi.cxx index 21591923f293..bfc6fa16cdab 100644 --- a/extensions/source/plugin/unx/npnapi.cxx +++ b/extensions/source/plugin/unx/npnapi.cxx @@ -40,6 +40,8 @@ #include <osl/module.h> +#include <config_vclplug.h> + extern PluginConnector* pConnector; extern XtAppContext app_context; extern int wakeup_fd[]; diff --git a/extensions/source/plugin/unx/npwrap.cxx b/extensions/source/plugin/unx/npwrap.cxx index b2cd5324c19a..8229abb6812f 100644 --- a/extensions/source/plugin/unx/npwrap.cxx +++ b/extensions/source/plugin/unx/npwrap.cxx @@ -44,6 +44,8 @@ #include <osl/file.h> #include <osl/module.h> +#include <config_vclplug.h> + PluginConnector* pConnector = NULL; int nAppArguments = 0; |