summaryrefslogtreecommitdiffstats
path: root/configure.ac
AgeCommit message (Collapse)Author
2021-03-18Merge pull request #436 from cgzones/freebsdGraham Inggs
FreeBSD: add support for CPU frequency and temperature Tested on two physical systems running FreeBSD 12.1
2021-03-12configure: use portable ANDChristian Göttsche
man:test(1) NOTE: Binary -a and -o are inherently ambiguous. Use 'test EXPR1 && test EXPR2' or 'test EXPR1 || test EXPR2' instead. Also fix indent
2021-03-04Separate display from sampling in SysArch and Hostname MetersNathan Scott
Several of our newer meters have merged coding concerns in terms of extracting values and displaying those values. This commit rectifies that for the SysArch and Hostname meters, allowing use of this code with alternative front/back ends. The SysArch code is also refined to detect whether the platform has an os-release file at all and/or the sys/utsname.h header via configure.ac.
2021-02-17Remove setuid supportBenny Baumann
This support was rarely ever used and has been disabled by default for some time. As far as the developer team is aware there's no distribution that activated this feature in their packages by default.
2021-02-16Enable making with -ggdb3 on configure --enable-debugDaniel Lange
2021-02-05Cache stderr to be able to print assert messagesChristian Göttsche
2021-02-05FreeBSD: add support for CPU frequency and temperatureChristian Göttsche
2021-02-05configure: ignore usage of C11 _Generic on FreeBSDChristian Göttsche
BatteryMeter.c:30:8: error: '_Generic' is a C11 extension [-Werror,-Wc11-extensions] if (isnan(percent)) { ^ /usr/include/math.h:114:2: note: expanded from macro 'isnan' __fp_type_select(x, __inline_isnanf, __inline_isnan, __inline_isnanl) ^ /usr/include/math.h:82:39: note: expanded from macro '__fp_type_select' #define __fp_type_select(x, f, d, ld) _Generic((x), \ ^ 1 error generated.
2021-02-05configure: add -lelf for static build on FreeBSDChristian Göttsche
2021-01-28Use different function on different detection method to avoid cachingChristian Göttsche
Using the same function for the same library causes AC_CHECK_LIB to use cached results. Since we change the detection method via different or no ncurses(5|6)-config invocation, avoid such caching by using different functions.
2021-01-25Add configure option to create static htop binaryChristian Göttsche
2021-01-25configure: fail immediately on missing requirementChristian Göttsche
2021-01-25configure: misc modernizationsChristian Göttsche
- require autoconf version 2.69 was released in 2012 and one still can configure and build on older systems (just not generate the configure script) - use modern C99 compiler check - drop obsolete checks: AC_C_CONST, AC_FUNC_CLOSEDIR_VOID, AC_FUNC_STAT - drop AC_HEADER_STDBOOL in favor of C99 compatibility
2021-01-25configure: reformat for improved reababilityChristian Göttsche
2021-01-25configure: overhaul option handlingChristian Göttsche
Switch Linux capabilities default from "no" to "check" Document default settings Use more readable formatting
2021-01-22Update copyright for 2021Daniel Lange
2021-01-21configure: add -Winit-self warningChristian Göttsche
2021-01-20Find the correct library for clock_gettime before trying to use itJames Abbatiello
Otherwise if clock_gettime is librt then this code will incorrectly believe that the function does not exist at all.
2021-01-11Add option to drop Linux capabilitiesChristian Göttsche
Conflicts with setuid support, but that is commonly not enabled.
2021-01-11Update version number to 3.0.6-dev to identify git repo buildsDaniel Lange
2021-01-11Release 3.0.53.0.5Daniel Lange
2020-12-22Update version number for git repo buildsNathan Scott
2020-12-22Bump version number for 3.0.4 release3.0.4Nathan Scott
2020-12-20DragonFlyBSD updateChristian Göttsche
- drop unused kinfo includes and link argument - detect kvm library necessity at configure step - fix variable typo
2020-12-19Enable -Wformat=2Christian Göttsche
Now that the global format variable Process_pidFormat is gone, enable the compiler warning -Wformat=2.
2020-12-18Support clock_gettime() on OSX El Capitan and earlierChristian Göttsche
2020-12-13Correct timebase for non-x86 CPUs on DarwinBenny Baumann
Fixes: #368
2020-12-13Check if clock_gettime needs linking of librtChris Burr
2020-12-12Indentation and line continuation fixes in configure.acBenny Baumann
2020-12-07configure: check for additional linker flags for keypad(3)Christian Göttsche
Gentoo requires an explicit addition of -ltinfo Resolves: https://bugs.gentoo.org/show_bug.cgi?id=690840
2020-12-07Correct the version of htop development repoNathan Scott
2020-12-07Change version string to note development repo buildNathan Scott
2020-12-07Bump version number for 3.0.3 release3.0.3Nathan Scott
2020-12-04Update changelog for upcoming 3.0.3 release, annotate rc13.0.3rc1Nathan Scott
2020-12-03Fix sensors configure argumentChristian Göttsche
2020-12-02Dynamically load libsensors at runtimeChristian Göttsche
2020-11-28configure: do not check functions we are using unconditionallyChristian Göttsche
2020-11-28Add compat mode for systems without openat(2)Christian Göttsche
2020-11-26configure: create typedefs for fixed-sized integers if neededChristian Göttsche
If not defined in stdint.h or inttypes.h See https://www.gnu.org/software/autoconf/manual/autoconf-2.62/html_node/Particular-Types.html
2020-11-25Drop taskstats conditionalChristian Göttsche
taskstats is only checked on runtime if the column RCHAR, WCHAR, SYSCR, SYSCW, RBYTES, WBYTES, CNCLWB, IO_READ_RATE, IO_WRITE_RATE or IO_RATE is selected. taskstats is currently enabled by default. Drop the taskstats configuration switch, to reduce the maintenance cost.
2020-11-25Drop cgroup conditionalChristian Göttsche
cgroup is only checked on runtime if the column CGROUP is selected. cgroup is currently disabled by default, but most distributions do enable it. Drop the cgroup configuration switch, to reduce the maintenance cost.
2020-11-24Compatibility function for faccessatBenny Baumann
2020-11-17Merge branch 'temperature_v2' of cgzones/htopDaniel Lange
Closes #111, closes #49 Closes #93 - thank you for leading the way @DX37 (Maxim Kurnosenko)!
2020-11-16Add debug state to the configure report (thanks @benbe for the idea)Daniel Lange
2020-11-16Show CPU temperature in CPU meterChristian Göttsche
Show the CPU temperature in the CPU meter, like CPU frequency, instead of using an extra Meter.
2020-11-16hwloc = (portable) HardWare LOCality, not related to lockDaniel Lange
2020-11-15Resolve merge conflicts, merge #229 "Add SystemdMeter" from @cgzonesDaniel Lange
2020-11-09Implement screen for active file locksFynn Wulf
2020-10-31Add SystemdMeterChristian Göttsche
2020-10-29Add compat wrapper for fstatatChristian Göttsche