max31785-msl: Default not to install

Default not to install the max31785-msl script and provide autoconf and
meson options to install it. This is a tool used to check the revision
of the MAX31785 fan controller chip against a configuration defining
what the minimum ship level is required. Always installing this script
isn't necessary where a MAX31785 chip doesn't exist in a machine or
where the revision of it needs to be verified.

Tested:
    Built using autoconf where the max31785-msl script is only installed
when `--enable-max31785-msl` is given
    Build using meson where the max31785-msl script is only installed
when `-Denable-max31785-msl=true` is given

Change-Id: I563e30f093340ee035fd55c5fb0a10bef879ca12
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/configure.ac b/configure.ac
index 5e4bbdd..8c59696 100644
--- a/configure.ac
+++ b/configure.ac
@@ -212,6 +212,13 @@
     ])
 ])
 
+# By default, do not include MSL(minimum ship level) applications since these
+# would be specific to the machine using BMC hwmon. Each MSL application should
+# have its own enable argument to be built/installed.
+AC_ARG_ENABLE([max31785-msl],
+  AS_HELP_STRING([--enable-max31785-msl], [Include building and installing the MAX31785 chip's minimum ship level checking application.]))
+AM_CONDITIONAL([WANT_MAX31785_MSL], [test "x$enable_max31785_msl" == "xyes"])
+
 AC_ARG_VAR(BUSNAME_PREFIX, [The DBus busname prefix.])
 AC_ARG_VAR(SENSOR_ROOT, [The DBus sensors namespace root.])
 AS_IF(