From 53ac72a8783c54467f7462cf536d637e058da0fd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 1 Sep 2011 10:09:46 +0200 Subject: Makefile.am: use AVAHI_CFLAGS, AVAHI_LIBS Don't add those to MPD_CFLAGS / MPD_LIBS. --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b362592cf..cf992eb9d 100644 --- a/configure.ac +++ b/configure.ac @@ -542,8 +542,7 @@ enable_bounjour=no if test x$with_zeroconf != xno; then if test x$with_zeroconf = xavahi || test x$with_zeroconf = xauto; then PKG_CHECK_MODULES([AVAHI], [avahi-client avahi-glib], - [enable_avahi=yes;AC_DEFINE([HAVE_AVAHI], 1, [Define to enable Avahi Zeroconf support])] - MPD_LIBS="$MPD_LIBS $AVAHI_LIBS" MPD_CFLAGS="$MPD_CFLAGS $AVAHI_CFLAGS") + [enable_avahi=yes;AC_DEFINE([HAVE_AVAHI], 1, [Define to enable Avahi Zeroconf support])]) fi if test x$enable_avahi = xyes; then -- cgit v1.2.3