The servicediscovery plugin is supported only on Linux platforms. This
change checks that this plugin is enabled only if the OS is Linux.
Otherwise, an error message is printed.
enable_servicediscovery=no
])
+#
+# Check that servicediscovery is enabled only on linux systems
+#
+
+if test "$enable_servicediscovery" = "yes"; then
+ if test "$os" != "linux"; then
+ AC_MSG_ERROR([The Service Discovery plugin is only supported for Linux
+ platforms. Try configure without --enable-servicediscovery option.])
+ fi
+fi
+
#
# Check for glib 2.34.0 or greater.
#