2019-03-18 08:09:13 +00:00
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
|
|
|
index b17beff..1659cfc 100644
|
2018-06-05 11:10:25 +00:00
|
|
|
--- a/configure.ac
|
|
|
|
|
+++ b/configure.ac
|
2019-03-18 08:09:13 +00:00
|
|
|
@@ -368,9 +368,9 @@ if test "x$with_avahi" != "xno"; then
|
2018-06-05 11:10:25 +00:00
|
|
|
AVAHI_LIBS="-L$with_avahi/lib -lavahi-common -lavahi-client"
|
|
|
|
|
echo "using $with_avahi"
|
|
|
|
|
with_avahi=yes
|
|
|
|
|
- elif pkg-config --atleast-version=0.6.4 avahi-client >/dev/null 2>&1; then
|
|
|
|
|
- AVAHI_CFLAGS=`pkg-config --cflags avahi-client`
|
|
|
|
|
- AVAHI_LIBS=`pkg-config --libs avahi-client`
|
|
|
|
|
+ elif $PKG_CONFIG --atleast-version=0.6.4 avahi-client >/dev/null 2>&1; then
|
|
|
|
|
+ AVAHI_CFLAGS=`$PKG_CONFIG --cflags avahi-client`
|
|
|
|
|
+ AVAHI_LIBS=`$PKG_CONFIG --libs avahi-client`
|
|
|
|
|
with_avahi=yes
|
|
|
|
|
echo yes
|
|
|
|
|
else
|