diff options
author | James Clarke <jrtc27@jrtc27.com> | 2016-04-18 23:55:55 +0100 |
---|---|---|
committer | James Clarke <jrtc27@jrtc27.com> | 2016-04-18 23:55:55 +0100 |
commit | a9508275ccdb875b57c6e7f6af746abb266663f8 (patch) | |
tree | 0ecd97a11a46035f5c281716735d0d4dfae94600 | |
parent | 306c5443ae0aec17c26f194ef624b6c4cc5b30de (diff) |
Use $target_os instead of $target in configure.ac
-rw-r--r-- | configure.ac | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index fa323598..8d48d680 100644 --- a/configure.ac +++ b/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 ;; *) |