office-gobmx/config_host
Noel Grandin b6f8734963 improve comment about SKIA_DEBUG
Change-Id: I1101b0cc51a8c1f4302f479c3dcd3db002c1be88
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146164
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-26 11:09:12 +00:00
..
.gitignore
config_box2d.h.in upgrade to box2d 2.4.1 2022-01-24 09:58:45 +01:00
config_buildconfig.h.in Send build config (configure options) in LOKit version info JSON 2022-11-07 20:35:46 +01:00
config_buildid.h.in
config_cairo_canvas.h.in
config_clang.h.in Let CppunitTest_odk_checkapi build against the SDK include directory 2022-01-19 23:00:55 +01:00
config_crypto.h.in Select svl crypto backend in configure.ac 2021-05-28 20:28:17 +02:00
config_cxxabi.h.in
config_dbus.h.in
config_dconf.h.in
config_eot.h.in Revert "Use libo_CHECK_SYSTEM_MODULE for eot" 2022-10-01 14:21:28 +02:00
config_extensions.h.in
config_feature_desktop.h.in
config_feature_opencl.h.in
config_features.h.in move HAVE_EXPORT_VALIDATION from config_features.h 2022-04-29 06:55:04 +02:00
config_firebird.h.in HAVE_FIREBIRD_30 is not used anymore 2021-06-10 14:07:16 +02:00
config_folders.h.in
config_fonts.h.in Move HAVE_MORE_FONTS into an extra config header 2022-01-10 04:50:46 +01:00
config_fuzzers.h.in
config_gio.h.in move dbus config into its own config header 2016-02-19 14:53:46 +00:00
config_global.h.in Fix typos 2022-01-21 12:51:49 +01:00
config_gpgme.h.in Update gpgme to 1.16.0 2022-01-05 09:53:07 +01:00
config_java.h.in move Java from config_features to already existing config_java 2018-05-10 22:44:37 +02:00
config_langs.h.in
config_lgpl.h.in
config_libcxx.h.in Rename #define HAVE_LIBCXX -> HAVE_LIBCPP 2022-05-03 12:00:29 +02:00
config_liblangtag.h.in
config_locales.h.in
config_mpl.h.in
config_oauth2.h.in tdf#101630 - gdrive support w/oAuth and Drive API v3 2021-07-28 01:50:39 +02:00
config_oox.h.in Allow selecting the tls backend to use in oox from configure 2013-04-10 08:36:51 +00:00
config_options.h.in improve the script for reducing symbol exports 2021-12-01 12:13:59 +01:00
config_options_calc.h.in
config_poppler.h.in Drop support for poppler w/o cpp/poppler-version.h 2021-11-26 10:03:04 +01:00
config_probes.h.in
config_python.h.in
config_skia.h.in improve comment about SKIA_DEBUG 2023-01-26 11:09:12 +00:00
config_typesizes.h.in
config_validation.h.in move HAVE_EXPORT_VALIDATION from config_features.h 2022-04-29 06:55:04 +02:00
config_vcl.h.in
config_vclplug.h.in initial Experimental System-Dependent PrimitiveRenderer for Cairo 2022-12-21 19:14:53 +00:00
config_vendor.h.in request installation of langpack via packagekit 2017-12-22 20:08:51 +01:00
config_version.h.in
config_wasm_strip.h.in WASM add Calc as optional build result, make it build & run 2022-10-14 09:21:30 +02:00
config_writerperfect.h.in
config_zxing.h.in tdf#139778 bundle external:zxing lib 2021-03-20 21:35:30 +01:00
README.md

C/C++ Configuration Created by configure Script

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