Use $target_os instead of $target in configure.ac

main
James Clarke 10 years ago
parent 306c5443ae
commit a9508275cc
  1. 10
      configure.ac

@ -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
;;
*)

Loading…
Cancel
Save