aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2010-07-15 15:15:48 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2010-07-21 17:11:45 +0800
commit4d850fee976c589164ab5b6355afbda8db75efe2 (patch)
tree930f29d4b3ff5324f19447cb9cf8aae6c38143b8 /configure.ac
parent033b4fe0ddcf1827b4b3f6a617c47978e7edfde7 (diff)
downloadgsoc2013-empathy-4d850fee976c589164ab5b6355afbda8db75efe2.tar
gsoc2013-empathy-4d850fee976c589164ab5b6355afbda8db75efe2.tar.gz
gsoc2013-empathy-4d850fee976c589164ab5b6355afbda8db75efe2.tar.bz2
gsoc2013-empathy-4d850fee976c589164ab5b6355afbda8db75efe2.tar.lz
gsoc2013-empathy-4d850fee976c589164ab5b6355afbda8db75efe2.tar.xz
gsoc2013-empathy-4d850fee976c589164ab5b6355afbda8db75efe2.tar.zst
gsoc2013-empathy-4d850fee976c589164ab5b6355afbda8db75efe2.zip
Update gnome-control-center dependency
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 10 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 6d198433a..37de4493c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -89,8 +89,6 @@ AC_PATH_PROG(DBUS_BINDING_TOOL, dbus-binding-tool)
GLIB_GSETTINGS
GLIB_GENMARSHAL=`$PKG_CONFIG glib-2.0 --variable=glib_genmarshal`
AC_SUBST(GLIB_GENMARSHAL)
-CONTROL_CENTER_EXTENSIONDIR=`$PKG_CONFIG --variable=extensiondir libgnome-control-center-extension`
-AC_SUBST(CONTROL_CENTER_EXTENSIONDIR)
AC_CHECK_PROGS([XSLTPROC], [xsltproc])
if test -z "$XSLTPROC"; then
@@ -482,11 +480,20 @@ AC_ARG_ENABLE(control_center_embedding,
if test "x$enable_control_center_embedding" != "xno"; then
PKG_CHECK_MODULES(CONTROL_CENTER_EMBEDDING,
[
- libgnome-control-center-extension
+ libgnome-control-center
], have_control_center_embedding="yes", have_control_center_embedding="no")
if test "x$have_control_center_embedding" = "xyes"; then
AC_DEFINE(HAVE_CONTROL_CENTER_EMBEDDING, 1, [Define if you have the single-window control center])
+
+ AC_MSG_CHECKING([gnome-control-center extension dir])
+ CONTROL_CENTER_EXTENSIONDIR=`$PKG_CONFIG --variable=extensiondir libgnome-control-center`
+ if test "x$CONTROL_CENTER_EXTENSIONDIR" = "x"; then
+ AC_MSG_ERROR([Could not determine extensiondir])
+ else
+ AC_MSG_RESULT([$CONTROL_CENTER_EXTENSIONDIR])
+ fi
+ AC_SUBST(CONTROL_CENTER_EXTENSIONDIR)
fi
else
have_control_center_embedding="no"