From 10968f2b59143f15aadbd4f6be12a3f680216aa8 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Thu, 12 Mar 2009 14:14:10 +0000 Subject: configure.ac: require avahi-client explictly. avahi-client is in the private requiremenets of avahi-gobject, so we need to ask for it to get the right libs at link time. svn path=/trunk/; revision=8871 --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 850af4be6..fd9f0b471 100644 --- a/configure.ac +++ b/configure.ac @@ -387,7 +387,10 @@ AC_MSG_RESULT([$enable_zeroconf]) if test "$enable_zeroconf" != "no"; then AVAHI_REQUIRED=0.6.22 - PKG_CHECK_MODULES(AVAHI, [avahi-gobject >= $AVAHI_REQUIRED],[have_avahi=yes],[have_avahi=no]) + PKG_CHECK_MODULES(AVAHI, + [avahi-gobject >= $AVAHI_REQUIRED + avahi-client >= $AVAHI_REQUIRED] + ,[have_avahi=yes],[have_avahi=no]) if test "$enable_zeroconf" = "yes" -a "$have_avahi" = "no"; then AC_MSG_ERROR([zeroconf support was requested but avahi not found]) -- cgit v1.2.3