summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* configure: resolve autotools 2.70 deprecation warningsChristian Göttsche2021-08-251-2/+2
| | | | | | | | | | | configure.ac:72: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:72: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... configure.ac:72: the top level configure.ac:134: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:134: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:134: the top level
* Build pcp-htop.5 only when --enable-pcpDaniel Lange2021-08-141-1/+2
|
* Merge pull request #705 from natoscott/pcp-htop-manualNathan Scott2021-08-131-1/+1
|\ | | | | docs: updates and new manual page for pcp-htop
| * docs: updates and new manual page for pcp-htopNathan Scott2021-08-031-1/+1
| | | | | | | | | | | | Add some words about pcp-htop to the main man page, and add a new man page describing the pcp-htop configuration files that allow new meters and columns to be defined at runtime.
* | configure: check for NaN compiler supportChristian Göttsche2021-08-081-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | Compilers might due to optimizations, like -ffast-math (included in -Ofast) expect floating point variables to be never NaN and replace each call to isnan() with false. Htop uses the value NaN for signaling no data available for various information. Warn at configure time if the compiler will ignore NaN values. Note: this can not be implemented as a compile time static assert, as some compilers handle compile NaNs differently than runtime NaNs.
* | netbsd: Add battery supportnia2021-08-051-0/+1
| | | | | | | | | | | | This uses proplib and sysmon_envsys to determine the total charge percentage of any number of connected batteries as well as the AC adapter state. Should work with ACPI and non-ACPI systems.
* | Enable affinity support for non-LinuxChristian Göttsche2021-07-181-37/+37
|/ | | | | sched_getaffinity() and sched_setaffinity() are also available on BSDs. Remove the Linux restraint.
* netbsd: Support curses libraries without ncurses mouse supportnia2021-07-151-0/+1
| | | | | | | | | | | | This adds a configure check for the ncurses getmouse() function and disables mouse-related code paths when mouse support is not present in the curses library. This is necessary for stable versions of NetBSD's libcurses, the development version has stub mouse functions for compatibility with ncurses. Signed-off-by: Nia Alarie <nia@NetBSD.org>
* netbsd: Support building with libcursesnia2021-07-131-2/+3
| | | | | | | | | | Right now Unicode support must be disabled, because htop peeks into the ncurses cchar_t struct with Unicode enabled. NetBSD's cchar_t has different contents. Partially fixes #660 Signed-off-by: Nia Alarie <nia@NetBSD.org>
* Check for alloc_size attribute in configure.acBenny Baumann2021-07-061-0/+14
|
* Check for set_escdelay in ncursesBenny Baumann2021-07-041-0/+1
|
* Add NetBSD platform support without procfs dependencyfraggerfox2021-06-261-0/+9
| | | | - TODO, clean up the code base and update comments in code.
* Change 3.0.6-dev -> 3.1.0-devDaniel Lange2021-06-181-1/+1
|
* Minor whitespace issue in configure.acBenny Baumann2021-06-131-1/+1
|
* Use macros to PCPProcessList value extraction, tweak configure.acNathan Scott2021-06-091-2/+2
| | | | Resolves a couple of remaining review notes from @BenBE.
* Various code tidyups based on review commentary from BenBENathan Scott2021-06-091-1/+1
|
* Fix cut+paste typo in --enable-pcp error messageNathan Scott2021-06-091-1/+1
|
* Add a platform for Performance Co-Pilot (PCP) metricsNathan Scott2021-06-091-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | This introduces an initial platform for extracting metrics using the PCP performance metrics API - PMAPI(3). It can be used via the --enable-pcp=yes configure option. So far I've added support for live localhost metrics only, and only using pre-defined metrics already found in htop. If available, all sampling is performed by pmcd(1) - else, we fallback to htop doing the metric sampling itself (all below the PMAPI). When pmcd is used, it may be configured to run children with elevated privileges, so htop does not need to be setuid (authentication with pmcd is available). Additionally, the PMAPI allows us to support archives (for historical analysis and for automated regression tests in htop). We'll need platform-specific command line argument additions, which isn't yet feasible in htop (not difficult to add though). The goal of this first version is minimal impact in terms of modifying the htop codebase, to introduce key ideas in PCP (metric namespace, metadata, APIs and so on) and give us something to discuss, experiment with and build on.
* Solaris: handle ERR macro redefinitionsChristian Göttsche2021-05-201-0/+5
| | | | | | | | On OmniOS /usr/include/sys/regset.h redefines ERR to 13 - \r, breaking the Enter key. Since ncruses macros use the ERR macro, we can not use another name. Closes: #634
* configure: ignore warning about delay accounting on non-Linux platformChristian Göttsche2021-05-161-1/+3
| | | | | | | | If pkg-config is not installed the following message gets printed, even on non Linux platform: "Linux delay accounting support can not be enabled, cause pkg-config is required for checking its availability"
* Merge pull request #436 from cgzones/freebsdGraham Inggs2021-03-181-0/+3
|\ | | | | | | FreeBSD: add support for CPU frequency and temperature Tested on two physical systems running FreeBSD 12.1
| * FreeBSD: add support for CPU frequency and temperatureChristian Göttsche2021-02-051-0/+3
| |
* | configure: use portable ANDChristian Göttsche2021-03-121-2/+2
| | | | | | | | | | | | | | | | 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
* | Separate display from sampling in SysArch and Hostname MetersNathan Scott2021-03-041-0/+14
| | | | | | | | | | | | | | | | | | 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.
* | Remove setuid supportBenny Baumann2021-02-171-11/+0
| | | | | | | | | | | | | | 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.
* | Enable making with -ggdb3 on configure --enable-debugDaniel Lange2021-02-161-1/+3
| |
* | Cache stderr to be able to print assert messagesChristian Göttsche2021-02-051-0/+1
|/
* configure: ignore usage of C11 _Generic on FreeBSDChristian Göttsche2021-02-051-0/+5
| | | | | | | | | | | | | 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.
* configure: add -lelf for static build on FreeBSDChristian Göttsche2021-02-051-0/+3
|
* Use different function on different detection method to avoid cachingChristian Göttsche2021-01-281-9/+9
| | | | | | | | 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.
* Add configure option to create static htop binaryChristian Göttsche2021-01-251-30/+74
|
* configure: fail immediately on missing requirementChristian Göttsche2021-01-251-44/+31
|
* configure: misc modernizationsChristian Göttsche2021-01-251-22/+9
| | | | | | | | | - 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
* configure: reformat for improved reababilityChristian Göttsche2021-01-251-128/+205
|
* configure: overhaul option handlingChristian Göttsche2021-01-251-65/+168
| | | | | | | | Switch Linux capabilities default from "no" to "check" Document default settings Use more readable formatting
* Update copyright for 2021Daniel Lange2021-01-221-1/+1
|
* configure: add -Winit-self warningChristian Göttsche2021-01-211-0/+1
|
* Find the correct library for clock_gettime before trying to use itJames Abbatiello2021-01-201-3/+4
| | | | | Otherwise if clock_gettime is librt then this code will incorrectly believe that the function does not exist at all.
* Add option to drop Linux capabilitiesChristian Göttsche2021-01-111-0/+8
| | | | Conflicts with setuid support, but that is commonly not enabled.
* Update version number to 3.0.6-dev to identify git repo buildsDaniel Lange2021-01-111-1/+1
|
* Release 3.0.53.0.5Daniel Lange2021-01-111-1/+1
|
* Update version number for git repo buildsNathan Scott2020-12-221-1/+1
|
* Bump version number for 3.0.4 release3.0.4Nathan Scott2020-12-221-1/+1
|
* DragonFlyBSD updateChristian Göttsche2020-12-201-0/+4
| | | | | | - drop unused kinfo includes and link argument - detect kvm library necessity at configure step - fix variable typo
* Enable -Wformat=2Christian Göttsche2020-12-191-0/+1
| | | | | Now that the global format variable Process_pidFormat is gone, enable the compiler warning -Wformat=2.
* Support clock_gettime() on OSX El Capitan and earlierChristian Göttsche2020-12-181-0/+2
|
* Correct timebase for non-x86 CPUs on DarwinBenny Baumann2020-12-131-0/+5
| | | | Fixes: #368
* Check if clock_gettime needs linking of librtChris Burr2020-12-131-0/+1
|
* Indentation and line continuation fixes in configure.acBenny Baumann2020-12-121-25/+20
|
* configure: check for additional linker flags for keypad(3)Christian Göttsche2020-12-071-0/+8
| | | | | | Gentoo requires an explicit addition of -ltinfo Resolves: https://bugs.gentoo.org/show_bug.cgi?id=690840

© 2014-2024 Faster IT GmbH | imprint | privacy policy