office-gobmx/config_host
Tor Lillqvist 81d9f1cbd6 Bin outdated #if and unnecessary <config_mingw.h>
We don't support cross-compiling with MinGW currently, and in any case
if we ever attempt such again, in the meantime the free replacement
Win32 headers most likely have been updated to include the
SCRIPT_CONTROL::fMergeNeutralItems field, so no conditional
compilation is needed.

Change-Id: I38701d6c41c44952466c1ece7c8433abe67642be
2015-11-24 12:58:57 +02:00
..
.gitignore
config_buildid.h.in
config_cairo_canvas.h.in move cairo helpers to vcl and make per-plug 2015-03-23 11:42:28 +00:00
config_clang.h.in
config_cups.h.in support fast MM printing in non-single-file mode only for CUPS 2015-03-11 16:21:43 +01:00
config_dconf.h.in configmgr: support reading from a dconf layer (WIP) 2015-07-08 12:06:04 +00:00
config_eot.h.in
config_extension_update.h.in Build time option --disable-extension-update 2015-06-03 15:22:11 +02:00
config_features.h.in Fix typos 2015-09-30 06:00:18 +00:00
config_folders.h.in Fold URE: Linux ure/share/misc/* -> program/ 2014-12-01 15:10:32 +01:00
config_gcc.h.in
config_global.h.in Prevent += called on temporary O[U]String instances 2015-11-09 12:22:17 +01:00
config_graphite.h.in
config_java.h.in java dir for powepc64 and powepc64le can differ 2015-05-12 12:14:54 +02:00
config_kde4.h.in
config_lgpl.h.in
config_liblangtag.h.in Pass ENABLE_LIBLANGTAG into code via config_liblangtag.h 2015-10-14 10:14:18 +02:00
config_locales.h.in
config_mpl.h.in
config_oauth2.h.in Fixed OneDrive scope to enable content access 2014-12-15 11:23:28 +01:00
config_oox.h.in
config_opengl.h.in loplugin:checkconfigmacros 2015-06-18 14:42:03 +02:00
config_options.h.in
config_orcus.h.in
config_poppler.h.in Fix --disable-pdfimport build 2015-04-28 23:00:54 +03:00
config_probes.h.in
config_python.h.in configure, pyuno: stop claiming our python 3.3.5 is 3.3.3 2015-08-18 11:19:43 +00:00
config_telepathy.h.in
config_test.h.in
config_typesizes.h.in
config_vcl.h.in Change comment to match reality 2015-11-23 08:59:10 +02:00
config_vclplug.h.in remove KDE3 support, --enable-kde and --enable-kdeab 2015-09-03 08:18:03 +00:00
config_version.h.in remove some unused defines 2015-07-27 06:12:01 +00:00
README

These are configuration files for various features as detected by configure.

Include only those files you need (in order to reduce rebuilds when a setting changes).

Settings here are only C/C++ #define directives, so they apply only to C/C++ source,
not to Makefiles.



Adding a new setting:
=====================

- do AC_DEFINE(HAVE_FOO) in configure.ac when a setting should be set
- choose the proper config_host/config_XXX.h file to use
    - if it is a global setting (such as availability of a compiler feature),
        use config_host/config_global.h
    - otherwise check if there is a matching config_host/config_XXX.h file
    - if none matches, add a new one:
        - add config_host/config_XXX.h.in here, with just #ifndef include guard
        - add AC_CONFIG_HEADERS([config_host/config_XXX.h]) next to the others
            in configure.ac
- add #define HAVE_FOO 0 to the config_host/config_XXX.h , possibly with a comment
  (do not use #undef HAVE_FOO, unless the setting has more values than on/off)
- add #include <config_XXX.h> before any #if HAVE_FOO in a source file
- make sure you use #if HAVE_FOO for on/off settings, do not use #ifdef