Fix include statements so they match all other files in gtk2_ardour
[ardour.git] / libs / glibmm2 / scripts / reduced.m4
1 ## GLIBMM_ARG_ENABLE_API_PROPERTIES()
2 ##
3 ## Provide the --enable-api-properties configure argument, enabled
4 ## by default.
5 ##
6 AC_DEFUN([GLIBMM_ARG_ENABLE_API_PROPERTIES],
7 [
8   AC_ARG_ENABLE([api-properties],
9       [  --enable-api-properties  Build properties API.
10                               [[default=yes]]],
11       [glibmm_enable_api_properties="$enableval"],
12       [glibmm_enable_api_properties='yes'])
13
14   if test "x$glibmm_enable_api_properties" = "xyes"; then
15   {
16     AC_DEFINE([GLIBMM_PROPERTIES_ENABLED],[1], [Defined when the --enable-api-properties configure argument was given])
17   }
18   fi
19 ])
20
21 ## GLIBMM_ARG_ENABLE_API_VFUNCS()
22 ##
23 ## Provide the --enable-api-vfuncs configure argument, enabled
24 ## by default.
25 ##
26 AC_DEFUN([GLIBMM_ARG_ENABLE_API_VFUNCS],
27 [
28   AC_ARG_ENABLE([api-vfuncs],
29       [  --enable-api-vfuncs  Build vfuncs API.
30                               [[default=yes]]],
31       [glibmm_enable_api_vfuncs="$enableval"],
32       [glibmm_enable_api_vfuncs='yes'])
33
34   if test "x$glibmm_enable_api_vfuncs" = "xyes"; then
35   {
36     AC_DEFINE([GLIBMM_VFUNCS_ENABLED],[1], [Defined when the --enable-api-vfuncs configure argument was given])
37   }
38   fi
39 ])
40
41 ## GLIBMM_ARG_ENABLE_API_EXCEPTIONS()
42 ##
43 ## Provide the --enable-api-exceptions configure argument, enabled
44 ## by default.
45 ##
46 AC_DEFUN([GLIBMM_ARG_ENABLE_API_EXCEPTIONS],
47 [
48   AC_ARG_ENABLE([api-exceptions],
49       [  --enable-api-exceptions  Build exceptions API.
50                               [[default=yes]]],
51       [glibmm_enable_api_exceptions="$enableval"],
52       [glibmm_enable_api_exceptions='yes'])
53
54   if test "x$glibmm_enable_api_exceptions" = "xyes"; then
55   {
56     AC_DEFINE([GLIBMM_EXCEPTIONS_ENABLED],[1], [Defined when the --enable-api-exceptions configure argument was given])
57   }
58   fi
59 ])
60
61 ## GLIBMM_ARG_ENABLE_API_DEPRECATED()
62 ##
63 ## Provide the --enable-deprecated-api configure argument, enabled
64 ## by default.
65 ##
66 AC_DEFUN([GLIBMM_ARG_ENABLE_API_DEPRECATED],
67 [
68   AC_ARG_ENABLE(deprecated-api, 
69       [  --enable-deprecated-api  Include (build) deprecated API in the libraries.
70                               [[default=yes]]],
71       [glibmm_enable_api_deprecated="$enableval"],
72       [glibmm_enable_api_deprecated='yes'])
73
74   if test "x$glibmm_enable_api_deprecated" = "xyes"; then
75   {
76     AC_MSG_WARN([Deprecated API will be built, for backwards-compatibility.])
77   }
78   else
79   {
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)
83   }
84   fi
85 ])
86
87
88 ## GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS()
89 ##
90 ## Provide the --enable-api-default-signal-handlers configure argument, enabled
91 ## by default.
92 ##
93 AC_DEFUN([GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS],
94 [
95   AC_ARG_ENABLE([api-default-signal-handlers],
96       [  --enable-api-default-signal-handlers  Build default signal handlers API.
97                               [[default=yes]]],
98       [glibmm_enable_api_default_signal_handlers="$enableval"],
99       [glibmm_enable_api_default_signal_handlers='yes'])
100
101   if test "x$glibmm_enable_api_default_signal_handlers" = "xyes"; then
102   {
103     AC_DEFINE([GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED],[1], [Defined when the --enable-api-default-signal-handlers configure argument was given])
104   }
105   fi
106 ])