Use $target_os instead of $target in configure.ac

This commit is contained in:
James Clarke 2016-04-18 23:55:55 +01:00
parent 306c5443ae
commit a9508275cc
1 changed files with 5 additions and 5 deletions

View File

@ -26,17 +26,17 @@ AC_PROG_LIBTOOL
# Checks for platform.
# ----------------------------------------------------------------------
case "$target" in
*linux*)
case "$target_os" in
linux*)
my_htop_platform=linux
;;
*freebsd*)
freebsd*|kfreebsd*)
my_htop_platform=freebsd
;;
*openbsd*)
openbsd*)
my_htop_platform=openbsd
;;
*darwin*)
darwin*)
my_htop_platform=darwin
;;
*)