summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Hunt <dhunt@iolanthe.attlocal.net>2015-07-12 13:47:43 -0500
committerHisham Muhammad <hisham@gobolinux.org>2015-08-19 13:47:26 -0300
commit70e7c8db592408f45b958238d4bbf0048886f6fc (patch)
tree0ee699faad92f38d29d10b5c9faced3436f0c647 /configure.ac
parentfeb7a01fd32d4a63b9cfb178c67cc95c05c9dc00 (diff)
Added darwin with working battery meter
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ad32e889..3852d3ba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,6 +33,9 @@ case "$target" in
*freebsd*)
my_htop_platform=freebsd
;;
+*darwin*)
+ my_htop_platform=darwin
+ ;;
*)
my_htop_platform=unsupported
;;
@@ -203,6 +206,7 @@ AC_DEFINE_UNQUOTED(COPYRIGHT, "(C) 2004-$year Hisham Muhammad", [Copyright messa
# ----------------------------------------------------------------------
AM_CONDITIONAL([HTOP_LINUX], [test "$my_htop_platform" = linux])
AM_CONDITIONAL([HTOP_FREEBSD], [test "$my_htop_platform" = freebsd])
+AM_CONDITIONAL([HTOP_DARWIN], [test "$my_htop_platform" = darwin])
AM_CONDITIONAL([HTOP_UNSUPPORTED], [test "$my_htop_platform" = unsupported])
AC_SUBST(my_htop_platform)
AC_CONFIG_FILES([Makefile htop.1])

© 2014-2024 Faster IT GmbH | imprint | privacy policy