--- a/configure.ac Mon Mar 31 03:35:04 2008 -0400
+++ b/configure.ac Mon Mar 31 03:43:55 2008 -0400
@@ -12,6 +12,11 @@
dnl #######################################################################
+dnl # Initialize some variables that get passed to plugin_pack.py +dnl ####################################################################### +dnl ####################################################################### dnl #######################################################################
@@ -72,6 +77,7 @@
AM_CONDITIONAL(HAVE_PURPLE, true)
+DEPENDENCIES="$DEPENDENCIES purple" if test x"$prefix" = x"NONE" ; then
PURPLE_LIBDIR=`pkg-config --variable=libdir purple`
@@ -113,6 +119,7 @@
AC_DEFINE(HAVE_PIDGIN, 1, [Define if we've found pidgin.])
AM_CONDITIONAL(HAVE_PIDGIN, true)
+ DEPENDENCIES="$DEPENDENCIES pidgin" @@ -152,6 +159,7 @@
AC_DEFINE(HAVE_FINCH, 1, [Define if we've found finch.])
AM_CONDITIONAL(HAVE_FINCH, true)
+ DEPENDENCIES="$DEPENDENCIES finch" @@ -205,10 +213,8 @@
dnl #######################################################################
-dnl # Plugin dependency checking
+dnl # Check for talkfilters dnl #######################################################################
AC_CHECK_HEADER(talkfilters.h, HAVE_TALKFILTERS=yes, AC_MSG_WARN([
*** GNU Talk Filters is required to build the talkfilters plugin;
*** please make sure you have the GNU Talk Filters development headers installed.
@@ -221,9 +227,13 @@
dnl work out that the library exists
AC_CHECK_LIB(talkfilters, gtf_filter_count, TALKFILTERS_LIBS="-ltalkfilters")
AC_SUBST(TALKFILTERS_LIBS)
+ DEPENDENCIES="$DEPENDENCIES talkfilters"
+dnl ####################################################################### +dnl # Check for switchspell +dnl ####################################################################### PKG_CHECK_MODULES(GTKSPELL, gtkspell-2.0 >= 2.0.2, [], [gtkspell=no])
AC_SUBST(GTKSPELL_CFLAGS)
@@ -238,9 +248,16 @@
AM_CONDITIONAL(BUILD_SWITCH_SPELL, test x"$BUILD_SWITCH_SPELL" = x"yes")
+if test x"$BUILD_SWITCH_SPELL" = x"yes" ; then + DEPENDENCIES="$DEPENDENCIES switchspell" +dnl ####################################################################### +dnl ####################################################################### @@ -264,6 +281,8 @@
if test x"$HAVE_XMMS" = x"yes" ; then
+ DEPENDENCIES="$DEPENDENCIES xmms" @@ -272,6 +291,9 @@
+dnl ####################################################################### +dnl # Check for some basic headers +dnl ####################################################################### AC_CHECK_HEADERS(regex.h)
dnl #######################################################################
@@ -296,7 +318,6 @@
PP_DIST_DIRS="`$srcdir/plugin_pack.py -D`"
dnl #######################################################################