103
103
gdk-3.0 >= GDK_REQUIRED_VERSION
104
104
gconf-2.0 >= GCONF_REQUIRED_VERSION)
106
PKG_CHECK_MODULES(PREF, gio-2.0 >= $GIO_REQUIRED_VERSION
107
gtk+-3.0 >= $GTK3_REQUIRED_VERSION
109
libgnome-control-center
106
###########################
107
# Control Center panel
108
###########################
110
AC_ARG_WITH([ccpanel],
111
AS_HELP_STRING([--with-ccpanel], [enable Control Center panel]),,
114
if test x"$with_ccpanel" != x"no" ; then
115
PKG_CHECK_MODULES([PREF],
116
[gio-2.0 >= $GIO_REQUIRED_VERSION
117
gtk+-3.0 >= $GTK3_REQUIRED_VERSION
119
libgnome-control-center
123
if test x${have_ccpanel} = xyes; then
124
AC_DEFINE(HAVE_CCPANEL, 1, [Define to 1 to enable Control Center panel])
125
PKG_CHECK_MODULES(LIBMAP, gio-2.0 >= $GIO_REQUIRED_VERSION
126
gtk+-3.0 >= $GTK3_REQUIRED_VERSION)
128
if test x${with_ccpanel} = xyes && test x${have_ccpanel} = xno; then
129
AC_MSG_ERROR([Control Center panel configured but not found])
134
AM_CONDITIONAL(BUILD_CCPANEL, test x${have_ccpanel} = xyes)
112
136
###########################
113
137
# Grab the GSettings Macros
148
172
# Control Center Info
149
173
###########################
151
AS_IF([test "x$with_localinstall" = "xyes"],
153
CCPANELDIR="${libdir}/control-center-1/panels/"
156
CCPANELDIR=`$PKG_CONFIG --variable=extensiondir libgnome-control-center`
175
AS_IF([test "x$have_ccpanel" = "xyes"],
177
AS_IF([test "x$with_localinstall" = "xyes"],
179
CCPANELDIR="${libdir}/control-center-1/panels/"
182
CCPANELDIR=`$PKG_CONFIG --variable=extensiondir libgnome-control-center`
161
187
###########################
162
188
# DBus Service Info
163
189
###########################