Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
8bfc664c
Kaydet (Commit)
8bfc664c
authored
12 years ago
tarafından
Luboš Luňák
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
autoconf can actually handle #define HAVE_FOO 0 as the default
Change-Id: I6cd70d885a3fe3ab53f7523d1a5da6ae30ee01e3
üst
3326a85a
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
3 additions
and
62 deletions
+3
-62
README
config_host/README
+3
-7
config_global.h.in
config_host/config_global.h.in
+0
-28
config_graphite.h.in
config_host/config_graphite.h.in
+0
-3
config_kde4.h.in
config_host/config_kde4.h.in
+0
-3
config_mingw.h.in
config_host/config_mingw.h.in
+0
-3
config_telepathy.h.in
config_host/config_telepathy.h.in
+0
-3
config_vclplug.h.in
config_host/config_vclplug.h.in
+0
-15
No files found.
config_host/README
Dosyayı görüntüle @
8bfc664c
...
...
@@ -20,11 +20,7 @@ Adding a new setting:
- add AC_CONFIG_HEADERS([config_host/config_XXX.h]) next to the others
in configure.ac
- add config_XXX.h to config_host/.gitignore
- add #undef HAVE_FOO to the config_host/config_XXX.h , possibly with a comment
- if the setting is an on/off setting (i.e. not a value of anything),
add the following block right after it
#ifndef HAVE_FOO
#define HAVE_FOO 0
#endif
- 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, do not use #ifdef
- make sure you use #if HAVE_FOO
for on/off settings
, do not use #ifdef
This diff is collapsed.
Click to expand it.
config_host/config_global.h.in
Dosyayı görüntüle @
8bfc664c
...
...
@@ -12,42 +12,14 @@ Any change in this header will cause a rebuild of almost everything.
#ifndef CONFIG_GLOBAL_H
#define CONFIG_GLOBAL_H
#undef HAVE_CXX11_DELETE
#ifndef HAVE_CXX11_DELETE
#define HAVE_CXX11_DELETE 0
#endif
#undef HAVE_CXX11_OVERRIDE
#ifndef HAVE_CXX11_OVERRIDE
#define HAVE_CXX11_OVERRIDE 0
#endif
#undef HAVE_CXX11_PERFECT_FORWARDING
#ifndef HAVE_CXX11_PERFECT_FORWARDING
#define HAVE_CXX11_PERFECT_FORWARDING 0
#endif
#undef HAVE_GCC_BUILTIN_ATOMIC
#ifndef HAVE_GCC_BUILTIN_ATOMIC
#define HAVE_GCC_BUILTIN_ATOMIC 0
#endif
#define HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY 0
#define HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE 0
#undef HAVE_SFINAE_ANONYMOUS_BROKEN
#ifndef HAVE_SFINAE_ANONYMOUS_BROKEN
#define HAVE_SFINAE_ANONYMOUS_BROKEN 0
#endif
#undef HAVE_THREADSAFE_STATICS
#ifndef HAVE_THREADSAFE_STATICS
#define HAVE_THREADSAFE_STATICS 0
#endif
#undef HAVE_SYSLOG_H
#ifndef HAVE_SYSLOG_H
#define HAVE_SYSLOG_H 0
#endif
#endif
This diff is collapsed.
Click to expand it.
config_host/config_graphite.h.in
Dosyayı görüntüle @
8bfc664c
#ifndef CONFIG_GRAPHITE_H
#define CONFIG_GRAPHITE_H
#undef ENABLE_GRAPHITE
#ifndef ENABLE_GRAPHITE
#define ENABLE_GRAPHITE 0
#endif
#endif
This diff is collapsed.
Click to expand it.
config_host/config_kde4.h.in
Dosyayı görüntüle @
8bfc664c
...
...
@@ -5,9 +5,6 @@ Settings for KDE4 integration.
#ifndef CONFIG_KDE4_H
#define CONFIG_KDE4_H
#undef KDE_HAVE_GLIB
#ifndef KDE_HAVE_GLIB
#define KDE_HAVE_GLIB 0
#endif
#endif
This diff is collapsed.
Click to expand it.
config_host/config_mingw.h.in
Dosyayı görüntüle @
8bfc664c
#ifndef CONFIG_MINGW
#define CONFIG_MINGW
#undef HAVE_FMERGENEUTRALITEMS
#ifndef HAVE_FMERGENEUTRALITEMS
#define HAVE_FMERGENEUTRALITEMS 0
#endif
#endif
This diff is collapsed.
Click to expand it.
config_host/config_telepathy.h.in
Dosyayı görüntüle @
8bfc664c
#ifndef CONFIG_TELEPATHY
#define CONFIG_TELEPATHY
#undef ENABLE_TELEPATHY
#ifndef ENABLE_TELEPATHY
#define ENABLE_TELEPATHY 0
#endif
#endif
This diff is collapsed.
Click to expand it.
config_host/config_vclplug.h.in
Dosyayı görüntüle @
8bfc664c
...
...
@@ -7,24 +7,9 @@ Settings about which X11 desktops have support enabled.
#ifndef CONFIG_VCLPLUG_H
#define CONFIG_VCLPLUG_H
#undef ENABLE_GTK
#ifndef ENABLE_GTK
#define ENABLE_GTK 0
#endif
#undef ENABLE_KDE
#ifndef ENABLE_KDE
#define ENABLE_KDE 0
#endif
#undef ENABLE_KDE4
#ifndef ENABLE_KDE4
#define ENABLE_KDE4 0
#endif
#undef ENABLE_TDE
#ifndef ENABLE_TDE
#define ENABLE_TDE 0
#endif
#endif
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment