mirror of https://github.com/xzeldon/htop.git
Use $target_os instead of $target in configure.ac
This commit is contained in:
parent
306c5443ae
commit
a9508275cc
10
configure.ac
10
configure.ac
|
@ -26,17 +26,17 @@ AC_PROG_LIBTOOL
|
||||||
|
|
||||||
# Checks for platform.
|
# Checks for platform.
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
case "$target" in
|
case "$target_os" in
|
||||||
*linux*)
|
linux*)
|
||||||
my_htop_platform=linux
|
my_htop_platform=linux
|
||||||
;;
|
;;
|
||||||
*freebsd*)
|
freebsd*|kfreebsd*)
|
||||||
my_htop_platform=freebsd
|
my_htop_platform=freebsd
|
||||||
;;
|
;;
|
||||||
*openbsd*)
|
openbsd*)
|
||||||
my_htop_platform=openbsd
|
my_htop_platform=openbsd
|
||||||
;;
|
;;
|
||||||
*darwin*)
|
darwin*)
|
||||||
my_htop_platform=darwin
|
my_htop_platform=darwin
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in New Issue