diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2017-07-10 20:14:25 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2017-07-10 20:14:25 -0300 |
commit | c39f18a7be892f5d13caa56b69e32cbcc8102a0d (patch) | |
tree | c14a41d8247394cd3ec911f8cb6325784e859fe7 /configure.ac | |
parent | 71785e2ded88f25370b24b06978a78f4fd2ba524 (diff) |
Add a clear warning about unsupported platforms.
Closes #648.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 90b0e850..225c6d85 100644 --- a/configure.ac +++ b/configure.ac @@ -275,3 +275,17 @@ AM_CONDITIONAL([HTOP_UNSUPPORTED], [test "$my_htop_platform" = unsupported]) AC_SUBST(my_htop_platform) AC_CONFIG_FILES([Makefile htop.1]) AC_OUTPUT + +if test "$my_htop_platform" = "unsupported" +then + echo "" + echo "****************************************************************" + echo "WARNING! This platform is not currently supported by htop." + echo "" + echo "The code will build, but it will produce a dummy version of htop" + echo "which shows no processes, using the files from the unsupported/" + echo "directory. This is meant to be a skeleton, to be used as a" + echo "starting point if you are porting htop to a new platform." + echo "****************************************************************" + echo "" +fi |