From ae15a1c5b197992627e8c371d47b58f50e35450d Mon Sep 17 00:00:00 2001 From: Alex Hudson Date: Wed, 29 Jun 2011 22:00:15 +0100 Subject: [PATCH] Error out in configure if webkit-sharp-devel or notify-sharp-devel are not available --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configure.ac b/configure.ac index d958b0f1..ce1ec8ca 100644 --- a/configure.ac +++ b/configure.ac @@ -101,8 +101,18 @@ AM_CONDITIONAL([HAVE_SMARTIRC4NET], test x$SPARKLE_SMARTIRC4NETDIR = x) dnl check for webkit-sharp PKG_CHECK_MODULES(WEBKIT_SHARP, webkit-sharp-1.0, have_webkit_sharp=yes, have_webkit_sharp=no) +if test "x$have_webkit_sharp" = "xno" ; then + AC_ERROR("webkit-sharp is a required dependency: you need to install the appropriate devel package before you can compile") +fi AC_SUBST(WEBKIT_SHARP_LIBS) +dnl check for notify-sharp +PKG_CHECK_MODULES(NOTIFY_SHARP, notify-sharp, have_notify_sharp=yes, have_notify_sharp=no) +if test "x$have_notify_sharp" = "xno" ; then + AC_ERROR("notify-sharp is a required dependency: you need to install the appropriate devel package before you can compile") +fi +AC_SUBST(NOTIFY_SHARP_LIBS) + SHAMROCK_CHECK_NUNIT APPINDICATOR_REQUIRED=0.0.7