diff options
-rw-r--r-- | configure.ac | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 9b3c17bd..cd981c72 100644 --- a/configure.ac +++ b/configure.ac @@ -27,17 +27,17 @@ AC_PROG_LIBTOOL # Checks for platform. # ---------------------------------------------------------------------- -case "$target" in -*linux*) +case "$target_os" in +linux*|gnu*) my_htop_platform=linux ;; -*freebsd*) +freebsd*|kfreebsd*) my_htop_platform=freebsd ;; -*openbsd*) +openbsd*) my_htop_platform=openbsd ;; -*darwin*) +darwin*) my_htop_platform=darwin ;; *) |