diff options
author | Jared McNeill <[email protected]> | 2018-05-20 22:28:17 -0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-11-18 09:39:58 +0100 |
commit | 972866ede42e9e3c19241b88703cee6510bb2657 (patch) | |
tree | e319a25df36212d5fdc1918a5507ce94ba9ba6ab /configure.ac | |
parent | ff7769b5346ba40137570417fb29e7dd386b3150 (diff) | |
download | mate-sensors-applet-972866ede42e9e3c19241b88703cee6510bb2657.tar.bz2 mate-sensors-applet-972866ede42e9e3c19241b88703cee6510bb2657.tar.xz |
Add NetBSD support.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 99c8642..0296d06 100644 --- a/configure.ac +++ b/configure.ac @@ -242,6 +242,19 @@ else AC_DEFINE_UNQUOTED(ATICONFIG_EXE, ["$aticonfig_exe"], [aticonfig executable]) fi +# enable netbsd plugin +AC_ARG_ENABLE(netbsd, + AS_HELP_STRING([--enable-netbsd], + [Enable NetBSD plugin.]), + enable_netbsd=$enableval, enable_netbsd="no") + +if test "x$enable_netbsd" = "xyes" ; then + echo "Enabling NetBSD support" +fi + +# use same test as above, because AM_CONDITIONAL may not be in if/else +AM_CONDITIONAL(NETBSD, test "x$enable_netbsd" = "xyes") + AC_SUBST(CFLAGS) # for help docs stuff AC_PATH_PROG(XSLTPROC, xsltproc, no) @@ -279,6 +292,7 @@ AC_CONFIG_FILES([ plugins/ibm-acpi/Makefile plugins/libsensors/Makefile plugins/mbmon/Makefile + plugins/netbsd/Makefile plugins/nvidia/Makefile plugins/aticonfig/Makefile plugins/omnibook/Makefile |