1 ## GLIBMM_ARG_ENABLE_API_PROPERTIES()
3 ## Provide the --enable-api-properties configure argument, enabled
6 AC_DEFUN([GLIBMM_ARG_ENABLE_API_PROPERTIES],
8 AC_ARG_ENABLE([api-properties],
9 [ --enable-api-properties Build properties API.
11 [glibmm_enable_api_properties="$enableval"],
12 [glibmm_enable_api_properties='yes'])
14 if test "x$glibmm_enable_api_properties" = "xyes"; then
16 AC_DEFINE([GLIBMM_PROPERTIES_ENABLED],[1], [Defined when the --enable-api-properties configure argument was given])
21 ## GLIBMM_ARG_ENABLE_API_VFUNCS()
23 ## Provide the --enable-api-vfuncs configure argument, enabled
26 AC_DEFUN([GLIBMM_ARG_ENABLE_API_VFUNCS],
28 AC_ARG_ENABLE([api-vfuncs],
29 [ --enable-api-vfuncs Build vfuncs API.
31 [glibmm_enable_api_vfuncs="$enableval"],
32 [glibmm_enable_api_vfuncs='yes'])
34 if test "x$glibmm_enable_api_vfuncs" = "xyes"; then
36 AC_DEFINE([GLIBMM_VFUNCS_ENABLED],[1], [Defined when the --enable-api-vfuncs configure argument was given])
41 ## GLIBMM_ARG_ENABLE_API_EXCEPTIONS()
43 ## Provide the --enable-api-exceptions configure argument, enabled
46 AC_DEFUN([GLIBMM_ARG_ENABLE_API_EXCEPTIONS],
48 AC_ARG_ENABLE([api-exceptions],
49 [ --enable-api-exceptions Build exceptions API.
51 [glibmm_enable_api_exceptions="$enableval"],
52 [glibmm_enable_api_exceptions='yes'])
54 if test "x$glibmm_enable_api_exceptions" = "xyes"; then
56 AC_DEFINE([GLIBMM_EXCEPTIONS_ENABLED],[1], [Defined when the --enable-api-exceptions configure argument was given])
61 ## GLIBMM_ARG_ENABLE_API_DEPRECATED()
63 ## Provide the --enable-deprecated-api configure argument, enabled
66 AC_DEFUN([GLIBMM_ARG_ENABLE_API_DEPRECATED],
68 AC_ARG_ENABLE(deprecated-api,
69 [ --enable-deprecated-api Include (build) deprecated API in the libraries.
71 [glibmm_enable_api_deprecated="$enableval"],
72 [glibmm_enable_api_deprecated='yes'])
74 if test "x$glibmm_enable_api_deprecated" = "xyes"; then
76 AC_MSG_WARN([Deprecated API will be built, for backwards-compatibility.])
80 AC_MSG_WARN([Deprecated API will not be built, breaking backwards-compatibility. Do not use this build for distribution packages.])
81 DISABLE_DEPRECATED_API_CFLAGS="-DGLIBMM_DISABLE_DEPRECATED"
82 AC_SUBST(DISABLE_DEPRECATED_API_CFLAGS)
88 ## GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS()
90 ## Provide the --enable-api-default-signal-handlers configure argument, enabled
93 AC_DEFUN([GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS],
95 AC_ARG_ENABLE([api-default-signal-handlers],
96 [ --enable-api-default-signal-handlers Build default signal handlers API.
98 [glibmm_enable_api_default_signal_handlers="$enableval"],
99 [glibmm_enable_api_default_signal_handlers='yes'])
101 if test "x$glibmm_enable_api_default_signal_handlers" = "xyes"; then
103 AC_DEFINE([GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED],[1], [Defined when the --enable-api-default-signal-handlers configure argument was given])