summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Update configure.ac with some m4 magic to add a git commit idDaniel Lange11 days1-1/+9
| | | | | and a reference of the last tag, the changes since then and the dirty flag from `git describe`
* linux: use dlopen for libnl3 instead of dynamic linkingChristian Göttsche2024-04-051-26/+12
| | | | | | | | | | | Instead of the current behavior of dynamic linking against libnl3 and libnl-genl-3 when configured with --enable-delayacct, load the shared libraries on request, if any delay accounting related process field is active, via dlopen(3), similar to libsensors and libsystemd. Distribution, who currently build htop with --enable-delayacct, need to explicitly add libnl3 and libnl-genl-3 as runtime dependencies to continue supporting delay accounting out-of-the-box.
* linux: move libnl code into separate fileChristian Göttsche2024-04-051-0/+1
| | | | | | | Move all the code using libnl functionality into a separate file to ease modifications. No functional change.
* DragonFlyBSD: support Disk IO meterChristian Göttsche2024-01-201-0/+1
|
* Fix static linking with libsystemdChristian Göttsche2024-01-101-1/+1
| | | | | | libsystemd requires libcap for static linking. Add missing macro for function alias.
* Add -dev prefix again for the next (planned) releaseDaniel Lange2024-01-101-1/+1
|
* Release 3.3.03.3.0Daniel Lange2024-01-101-1/+1
|
* Updates for 2024. Happy New Year!Daniel Lange2024-01-011-1/+1
|
* Fix code styleBenny Baumann2023-12-261-1/+1
|
* Check for large file support and some types we useBenny Baumann2023-12-261-0/+8
|
* Do not touch CFLAGS in configure.acBenny Baumann2023-12-261-8/+9
| | | | This fixes an inconsistency between tests run by ./configure and actual make
* Add configure check for nonnull attributeExplorer092023-10-111-0/+16
| | | | | | | The main reason I do this is to document the minimum compiler version (GCC 3.3) for the attribute. But it may work with other compilers, too. Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
* strchrnul is a GNU libc extension, add a wrapper for other platformsNathan Scott2023-10-101-0/+1
|
* Add a check and warning about signaling NaN support to 'configure.ac'Explorer092023-08-181-0/+16
| | | | | | | | | Add a check of the '__SUPPORT_SNAN__' predefined macro and print a warning message if the compiler defines it. The warning is not printed with '--enable-debug' specified as we assume users know what they are doing. :) Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
* Replace isnan() with better comparisons (isgreater(), etc.)Explorer092023-08-181-13/+29
| | | | | | | | | | | | | | | | | | The standard isnan() function is defined to never throw FP exceptions even when the argument is a "signaling" NaN. This makes isnan() more expensive than (x != x) expression unless the compiler flag '-fno-signaling-nans' is given. Introduce functions isNaN(), isNonnegative(), isPositive(), sumPositiveValues() and compareRealNumbers(), and replace isnan() in htop's codebase with the new functions. These functions utilize isgreater() and isgreaterequal() comparisons, which do not throw FP exceptions on "quiet" NaNs, which htop uses extensively. With isnan() removed, there is no need to suppress the warning '-Wno-c11-extensions' in FreeBSD. Remove the code from 'configure.ac'. Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
* configure.ac minor improvementsExplorer092023-08-181-3/+3
| | | | | | | | | * Shorter result message for "assume yes (cross compiling)" * Replace grave accent + apostrophe quoting with just apostrophes. It is expected that Autoconf 2.72 updates the quoting as well and the old style has confused a syntax highlighter (Vim). Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
* Changes in configuration to identify location of 'term.h'Sahil Siddiq2023-05-221-1/+11
| | | | | | | | | * ProvideTerm.h: New file * Update configure.ac to detect term.h * Update iwyu/htop.imp * Add ProvideTerm.h to Makefile Co-authored-by: BenBE <BenBE@geshi.org>
* Darwin: add DiskIOMeter supportUeiWang2023-04-221-0/+2
|
* configure: restore hwloc supportChristian Göttsche2023-04-051-1/+3
| | | | | | | If the pkg-config check for hwloc succeeds, actually define HAVE_LIBHWLOC to enable the conditional code. Fixes: 4ccad460 ("configure.ac: fix static build with hwloc")
* Annotate functions with access attributeChristian Göttsche2023-02-181-0/+14
| | | | Supported by GCC since version 10.
* Add support for scheduling policiesChristian Göttsche2023-02-051-0/+2
| | | | | | | | | | | | | Add a process column for scheduling policy to show the current scheduling policy of the process. Add a the ability to change the scheduling policy of a process via the key 'Y'. Currently implemented on Linux and FreeBSD only but should be portable, since sched_getscheduler(2) is part of POSIX.1-2001. Closes: #1161
* Update configure.ac for next planned release versionNathan Scott2023-02-051-1/+1
|
* Drop -dev version suffix in configure.ac for release3.2.2Nathan Scott2023-02-051-1/+1
|
* Put a -dev release version into configure.ac againDaniel Lange2023-01-101-1/+1
|
* Updates for 2023. Happy New Year!Daniel Lange2023-01-081-1/+1
|
* Use pmLookupDescs(3) function if available from libpcpNathan Scott2022-09-141-0/+4
| | | | | This is a relative new, single-round-trip variant of the pmLookupDesc(3) function for metric descriptors lookup.
* configure: support ceil builtinChristian Göttsche2022-08-091-1/+1
| | | | | | | | ceil(3) might be supplied by the compiler as a builtin. Use AC_SEARCH_LIBS instead of AC_CHECK_LIB, see https://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Libraries.html. Related: #1054
* Update changelog in preparation for htop-3.2.1 release3.2.1Nathan Scott2022-06-031-1/+1
|
* Add changelog entries for pending htop-3.2.0 release, update versionNathan Scott2022-04-291-1/+1
|
* Merge branch 'main' of thesamesam/htopDaniel Lange2022-04-261-2/+2
|\
| * build: use AC_CANONICAL_HOST, not AC_CANONICAL_TARGETSam James2022-01-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | htop is a program which will be run on CHOST after cross-compilation; CTARGET is only for a small number of cases where a program itself outputs code (so you might cross-compile a compiler which spits out code for a third architecture/platform). We want to use AC_CANONICAL_HOST to check CHOST for the platform currently being used to build htop. The confusion around this issue was compounded by a mistake in autoconf-archive which has since been fixed (AX_PTHREAD pulled it in incorrectly). See: https://github.com/libstatgrab/libstatgrab/pull/131 See: https://github.com/fenrus75/powertop/pull/90#discussion_r705803725 Signed-off-by: Sam James <sam@gentoo.org>
* | configure.ac: fix static build with hwlocFabrice Fontaine2022-04-031-2/+12
|/ | | | | | | | | | | | | | | | | | | | | Retrieve hwloc dependencies through pkg-config to avoid the following static build failure: checking for hwloc_get_proc_cpubind in -lhwloc... no configure: error: can not find required library libhwloc This build failure is raised because without pkg-config, hwloc dependencies such as libxml2 are not retrieved: configure:8999: checking for hwloc_get_proc_cpubind in -lhwloc configure:9022: /home/autobuild/autobuild/instance-0/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -o conftest -D_GNU_SOURCE -I/home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lhwloc -llzma -L/home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib -lncurses -lm >&5 /home/autobuild/autobuild/instance-0/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib/libhwloc.a(topology-xml-libxml.o): in function `hwloc_libxml_free_buffer': topology-xml-libxml.c:(.text+0x6a): undefined reference to `xmlFree' Fixes: - http://autobuild.buildroot.org/results/5d815ec08c580005a863df6ac9ac29deff7d4128 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
* Year 2022 updatesDaniel Lange2022-01-031-1/+1
|
* configure: support libunwind of LLVMChristian Göttsche2021-12-161-2/+12
| | | | | | | | | The libunwind headers of LLVM are located in the subdirectory /usr/include/libunwind. Search that subdirectory when the default header test fails. Also extend the include path due to the transitive include of `<__libunwind_config.h>`. Closes: #894
* Update version number to 3.2.0-dev to identify git repo buildsNathan Scott2021-11-301-1/+1
|
* Release 3.1.23.1.2Nathan Scott2021-11-301-1/+1
|
* Update version number to 3.2.0-dev to identify git repo buildsBenny Baumann2021-10-141-1/+1
|
* Release 3.1.13.1.1Benny Baumann2021-10-141-1/+1
|
* Linux: improve tryRead macro safetyChristian Göttsche2021-10-011-0/+1
| | | | | | | | | | Add an explicit else clause so a following else branch for a prior if condition does not get mixed up. Also force a trailing semicolon and thereby silence current -Wextra-semi-stmt warnings. Improve readability of the hwloc_bitmap_foreach_begin loop macro.
* Resolve -Wimplicit-int-conversion warningsChristian Göttsche2021-10-011-1/+2
| | | | | | | | | | | | | | | | | | | | Panel.c:414:49: error: implicit conversion loses integer precision: 'int' to 'short' [-Werror,-Wimplicit-int-conversion] this->scrollH = MAXIMUM(this->selectedLen - this->w, 0); ~ ~~~~~~~~~~~~~~~~~~^~~~~~~~~ ./Macros.h:11:54: note: expanded from macro 'MAXIMUM' #define MAXIMUM(a, b) ((a) > (b) ? (a) : (b)) ^ IncSet.c:159:38: error: implicit conversion loses integer precision: 'int' to 'char' [-Werror,-Wimplicit-int-conversion] mode->buffer[mode->index] = ch; ~ ^~ Panel.c:456:24: error: implicit conversion loses integer precision: 'int' to 'char' [-Werror,-Wimplicit-int-conversion] buffer[len] = ch; ~ ^~ Panel.c:473:22: error: implicit conversion loses integer precision: 'int' to 'char' [-Werror,-Wimplicit-int-conversion] buffer[0] = ch; ~ ^~
* Update version to 3.1.1-devDaniel Lange2021-09-221-1/+1
|
* Use libunwind for printing backtraceChristian Göttsche2021-09-211-3/+33
|
* Release 3.1.03.1.0Nathan Scott2021-09-211-1/+1
|
* Bump to rc3, likely final release commits for 3.1.0Nathan Scott2021-09-201-1/+1
|
* Fix a typo in a configure.ac commentNathan Scott2021-09-081-1/+1
|
* Update configure to reflect rc2 in the version3.1.0rc2Benny Baumann2021-09-051-1/+1
|
* configure: output vserver as implied if ancient-vserver is enabledChristian Göttsche2021-09-041-3/+6
| | | | | | | | The build time configuration ancient-vserver implies the configuration vserver; say so in the configure status report if only ancient-vserver has been specified. Also indent with 3 spaces.
* Update configure to reflect rc1 in the versionNathan Scott2021-08-271-1/+1
|
* 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
|

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