# HG changeset patch # User Elliott Sales de Andrade # Date 1315458833 0 # Node ID 7b1a94adc33f2f2c2268f6f5f0d642b2221898d0 # Parent d50bdda3dc81e06c8cfab33bda760824f9da61d4 WebKit is only required when building Pidgin. diff -r d50bdda3dc81 -r 7b1a94adc33f configure.ac --- a/configure.ac Wed Sep 07 05:44:17 2011 +0000 +++ b/configure.ac Thu Sep 08 05:13:53 2011 +0000 @@ -434,6 +434,16 @@ PKG_CHECK_MODULES(PANGO, [pango >= 1.4.0], AC_DEFINE(HAVE_PANGO14, 1, [Define if we have Pango 1.4 or newer.]),:) + PKG_CHECK_MODULES(WEBKIT, [webkit-1.0 >= 1.1.1], , [ + AC_MSG_RESULT(no) + AC_MSG_ERROR([ +You must have WebKit 1.1.1 or newer development headers installed to compile +Pidgin. If you want to build only Finch then specify --disable-gtkui when +running configure. +])]) + AC_SUBST(WEBKIT_CFLAGS) + AC_SUBST(WEBKIT_LIBS) + dnl ####################################################################### dnl # Check if we should compile with X support dnl ####################################################################### @@ -710,8 +720,6 @@ #AC_CHECK_FUNC(wcwidth, [AC_DEFINE([HAVE_WCWIDTH], [1], [Define to 1 if you have wcwidth function.])]) -PKG_CHECK_MODULES(WEBKIT, [webkit-1.0 >= 1.1.1]); - dnl ####################################################################### dnl # Check for LibXML2 (required) dnl #######################################################################