Drop configure option --enable-proc

Move to HTOP_LINUX, as --enable-proc implies my_htop_platform=linux, and
the Linux features do not work without a proc fs.
This commit is contained in:
Christian Göttsche
2020-08-28 11:54:50 +02:00
parent 2d14269bcd
commit 5bee902665
2 changed files with 1 additions and 8 deletions

2
htop.c
View File

@ -200,7 +200,7 @@ int main(int argc, char** argv) {
CommandLineSettings flags = parseArguments(argc, argv); // may exit()
#ifdef HAVE_PROC
#ifdef HTOP_LINUX
if (access(PROCDIR, R_OK) != 0) {
fprintf(stderr, "Error: could not read procfs (compiled to look in %s).\n", PROCDIR);
exit(1);