summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiqi <me@siqi.fr>2013-07-26 09:16:59 +0200
committerSiqi <me@siqi.fr>2013-07-26 09:17:31 +0200
commit9f8a350c2131f1289f9edb652c8e86e7b806040f (patch)
tree64cec61d116592a80c0e64a01a2e36dd23ca0f69
parente9ee572198992868e7beae2911446a70aa4b7aee (diff)
discriptive comments on HAvE_FEATURE_AVAHI and remove unused ac_def
Change-Id: I37183561a264625505036bcc6b945a6b24f05b5a
-rw-r--r--config_host/config_features.h.in12
-rw-r--r--configure.ac1
2 files changed, 12 insertions, 1 deletions
diff --git a/config_host/config_features.h.in b/config_host/config_features.h.in
index e5d5187d81a1..3437e13cfa2c 100644
--- a/config_host/config_features.h.in
+++ b/config_host/config_features.h.in
@@ -66,6 +66,18 @@
#define HAVE_FEATURE_OPENCL 0
+/*
+ * Whether the OS has Avahi support,
+ * This library is used for zeroconf service publication on the local network
+ * for the Impress remote control, so that the remote can automatically
+ * discover the running libO instance and its IP address.
+ *
+ * This library should be present on most mordern linux distributions
+ * but not on "all" of them. For now, you should add --enable-avahi for
+ * this to be taken into account. Otherwise the test of its presence
+ * will not take place.
+ */
+
#define HAVE_FEATURE_AVAHI 0
#endif
diff --git a/configure.ac b/configure.ac
index 10ffd2acb1d7..b45b175288c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11392,7 +11392,6 @@ 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(ENABLE_AVAHI)
AC_DEFINE(HAVE_FEATURE_AVAHI)
AVAHI_CFLAGS=$(printf '%s' "$AVAHI_CFLAGS" | sed -e "s/-I/${ISYSTEM?}/g")
fi