diff options
author | Murray Cumming <murrayc@murrayc.com> | 2006-07-19 16:32:41 +0000 |
---|---|---|
committer | Murray Cumming <murrayc@src.gnome.org> | 2006-07-19 16:32:41 +0000 |
commit | 9c53a586e89cb668a8160ab7615ef074a5b54f6a (patch) | |
tree | b9a3ee2b8285088f972032ac625c7bb42f6d839d /configure.in | |
parent | 95151b892e865a8b49b114f629e2a0b4a4429295 (diff) | |
download | glibmm-9c53a586e89cb668a8160ab7615ef074a5b54f6a.tar.gz |
Added a --enable-api-default-signal-handlers option. This defines
2006-04-25 Murray Cumming <murrayc@murrayc.com>
* configure.in:
* glib/glibmmconfig.h.in:
* scripts/reduced.m4: Added a --enable-api-default-signal-handlers option. This defines
GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED, which is used to #ifdef default signal handlers.
This saves on library code size (less code and API symbols) and application code size and
loading time (less virtual methods, which must be imported and resolved at load time) and
per-object memory size (smaller object sizes because of less virtual methods.)
* tools/m4/class_interface.m4:
* tools/m4/class_shared.m4: Put default signal handler code in #ifdefs.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in index c5d001b8..ea481061 100644 --- a/configure.in +++ b/configure.in @@ -231,6 +231,9 @@ GLIBMM_ARG_ENABLE_API_EXCEPTIONS() GLIBMM_ARG_ENABLE_API_PROPERTIES() GLIBMM_ARG_ENABLE_API_VFUNCS() +# Offer the ability to omit some API from the library, +# to reduce the code size: +GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS() # Dummy conditional just to make automake-1.4 happy. # We need an always-false condition in docs/Makefile.am. |