From a7c8e72c9c4daa5a4830bad4ab6baa500106b3b4 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Thu, 25 Aug 2011 15:20:58 +0100 Subject: 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. --- configure.ac | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'configure.ac') 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") -- cgit v1.2.3