aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-08-25 22:20:58 +0800
committerWill Thompson <will.thompson@collabora.co.uk>2011-08-25 22:22:08 +0800
commita7c8e72c9c4daa5a4830bad4ab6baa500106b3b4 (patch)
treeb49df203df5e834c3c97f7da8d59fe9ee1802d47
parentec7580263da08c3301d44335f001d4914d6854e7 (diff)
downloadgsoc2013-empathy-a7c8e72c9c4daa5a4830bad4ab6baa500106b3b4.tar
gsoc2013-empathy-a7c8e72c9c4daa5a4830bad4ab6baa500106b3b4.tar.gz
gsoc2013-empathy-a7c8e72c9c4daa5a4830bad4ab6baa500106b3b4.tar.bz2
gsoc2013-empathy-a7c8e72c9c4daa5a4830bad4ab6baa500106b3b4.tar.lz
gsoc2013-empathy-a7c8e72c9c4daa5a4830bad4ab6baa500106b3b4.tar.xz
gsoc2013-empathy-a7c8e72c9c4daa5a4830bad4ab6baa500106b3b4.tar.zst
gsoc2013-empathy-a7c8e72c9c4daa5a4830bad4ab6baa500106b3b4.zip
configure: simplify error path in --enable-call
PKG_CHECK_MODULES raises a fatal error if you don't specify an ACTION-IF-NOT-FOUND, telling the developer which modules are missing. So we can simplify the configure script *and* give a more helpful error message.
-rw-r--r--configure.ac5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index cb60cf5f3..b7e9b386c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -218,7 +218,7 @@ if test "x$enable_call" != "xno" ; then
clutter-1.0
clutter-gtk-1.0
clutter-gst-1.0
- ], have_call="yes", have_call="no" )
+ ], have_call="yes" )
if test "x$have_call" = "xyes"; then
AC_DEFINE(HAVE_CALL, 1, [Define if you have Call channel support])
@@ -227,9 +227,6 @@ else
have_call=no
fi
-if test "x$enable_call" = "xyes" -a "x$have_call" != "xyes"; then
- AC_MSG_ERROR([Could not find Call handler dependencies.])
-fi
AM_CONDITIONAL(HAVE_CALL, test "x$have_call" = "xyes")