diff options
-rw-r--r-- | configure.ac | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 0ef3f5345b04..fbac8efb81bd 100644 --- a/configure.ac +++ b/configure.ac @@ -11700,11 +11700,9 @@ dnl Test whether to use avahi dnl =================================================================== if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$enable_avahi" = "yes"; then PKG_CHECK_MODULES([AVAHI], [avahi-client >= 0.6.10], - [ENABLE_AVAHI="TRUE"], [ENABLE_AVAHI=""]) - if test "$ENABLE_AVAHI" = "TRUE"; then - AC_DEFINE(HAVE_FEATURE_AVAHI) - AVAHI_CFLAGS=$(printf '%s' "$AVAHI_CFLAGS" | sed -e "s/-I/${ISYSTEM?}/g") - fi + [ENABLE_AVAHI="TRUE"]) + AC_DEFINE(HAVE_FEATURE_AVAHI) + AVAHI_CFLAGS=$(printf '%s' "$AVAHI_CFLAGS" | sed -e "s/-I/${ISYSTEM?}/g") fi AC_SUBST(ENABLE_AVAHI) |