summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Fix in AC_CONFIG_FILES, try #2Daniel Lange2020-08-241-1/+2
|
* Nope, configure works but make breaks.Daniel Lange2020-08-241-1/+1
| | | | This reverts commit dad62b6c9e8a9e962b31175d4a768b37e1f8f3ec.
* Put Makeheader.py.in into AC_CONFIG_FILESDaniel Lange2020-08-241-1/+1
|
* Generate an appropriate shebang line for MakeHeader script3.0.0rc2Nathan Scott2020-08-231-1/+4
| | | | | | | Use configure.ac to handle platform differences where some build hosts have only a python3, or only python, binary. Related to https://github.com/htop-dev/htop/pull/6
* Remove trailing whitespacesChristian Göttsche2020-08-211-1/+1
|
* configure: add option --enable-werrorChristian Göttsche2020-08-211-0/+3
| | | | | Adds the compiler flag -Werror to fail on warnings. Useful for CI runs.
* Documentation updates to reflect community maintainershipNathan Scott2020-08-201-5/+2
| | | | | Document the htop.dev site, #htop and htop@groups.io for contacting the community maintainers, and the upcoming 3.0.0 release.
* Fix configure 'major' workaround causing <sys/sysmacros.h> to miss.Explorer092019-06-141-1/+1
| | | | | | | | | | | | | A logic mistake in pull request #746 causes <sys/sysmacro.h> to be *not* included when AC_HEADER_MAJOR (before autoconf-2.70) finds 'major' in <sys/types.h>. Though this would still build htop, it would still bring deprecation warning in systems using glibc 2.25-2.27. Fix the logic and suppress the warning. Also, include config.h in Process.c for the sake of strengthening the code. Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
* Disable 'make dist' when pkg.m4 is unused in configureExplorer092018-05-221-1/+3
| | | | | | | | | This would prevent a careless future package maintainer from creating a release tarball with a defective configure script. :) Also, add a warning in the autogen.sh phase if pkg.m4 is unused. Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
* Bump version to 2.2.02.2.0Hisham Muhammad2018-04-101-1/+1
|
* Require pkg-config as an optional build dependency on Linux (#775)Hisham Muhammad2018-04-061-7/+11
| | | | | | | | | | | | | | | | | | | With this commit: * if pkgconfig is installed, it will expand the code inside the shell if, adding the pkgconfig-based tests for the dependencies of Linux delay accounting. * if pkgconfig is not installed, it will add an error message inside the test of Linux delay accounting, telling the user to install pkgconfig and rebuild the configure script if they want to use Linux delay accounting. The end result is: * people running Linux * will not need pkgconfig when not using delay accounting * will need pkgconfig when using delay accounting * if they don't have it * they are told by configure they need to install it and re-run autogen.sh when running from Git * they are told by configure they need to install it and re-run configure when running from the tarball * people not running Linux * will never need pkgconfig ...and in none of the above scenarios the generated configure script produces unexpanded macros for users checking out the sources from Git.
* Solaris: get completely out of the file handling business using libprocGuy M. Broome2018-04-051-0/+1
|
* Solaris: Link against libmalloc to fix various crashesGuy M. Broome2018-03-161-0/+1
|
* Import Solaris support (#741)gmbroome2018-03-021-0/+8
| | | | | | | | | | | | | | | | | | | | | This commit adds support for Solaris, squashed from PR #741: Summary of additions: * Initial setup of Solaris platform directory * Add Solaris platform into autoconf template * Uptime and load averages * Add dependency on libkstat * Basic process listing * Zone name display * CPU detection * Per-process memory and CPU usage parsed correctly * Uses sysconf to discover number of CPUs, instead of more complex libkstat code * Simple memory display working * Reduce repetitive calls to the PAGE_SIZE macro when reading memory info * Add Project, Contract, Task, and Pool into process properties * Use system major()/minor() implementations and remove extraneous definition of mkdev() * Get the STARTTIME column working properly, using the Linux implementation as a guide
* Fix bashisms (#749)Jesin2018-02-261-3/+3
| | | | | | The configure script relied on bash-specific extensions to shell syntax and behavior, causing build failures on systems with other /bin/sh implementations. This commit replaces those with equivalent constructs that should work in all POSIX shells.
* use CFLAGS from ncurses*-config, if present (#745)Michael Klein2018-02-261-6/+12
| | | Fixes #695.
* Fix build failure ('major' undefined) in glibc 2.28. (#746)Kang-Che Sung (宋岡哲)2018-02-261-0/+10
| | | | | | | | | | | | | | | | | glibc 2.28 no longer defines 'major' and 'minor' in <sys/types.h> and requires us to include <sys/sysmacros.h>. (glibc 2.25 starts deprecating the macros in <sys/types.h>.) Now do include the latter if found on the system. At the moment, let's also utilize AC_HEADER_MAJOR in configure script. However as Autoconf 2.69 has not yet updated the AC_HEADER_MAJOR macro to reflect the glibc change [1], so add a workaround code. Fixes #663. Supersedes pull request #729. Reference: [1] https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=e17a30e987d7ee695fb4294a82d987ec3dc9b974 Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
* Fix preservation of LDFLAGS value during configure scriptHisham Muhammad2018-02-171-1/+1
| | | | Fixes #738.
* Check for pkgconfig's presence before using it.Hisham Muhammad2018-02-051-0/+1
| | | | Fixes #710.
* Bump version to 2.1.02.1.0Hisham Muhammad2018-02-041-1/+1
|
* Adds support for linux delay accounting (#667)André Carvalho2017-12-041-0/+11
| | | | | | Adds support for showing columns with linux delay accounting. This information can be read from the netlink interface, and thus we set up a socket to read from that when initializing the LinuxProcessList (LinuxProcessList_initNetlinkSocket). After that, for each process we call LinuxProcessList_readDelayAcctData, which sends a message thru the socket after setting up a callback to get the answer from the Kernel. That callback sets the process total delay time attribute. We then set the delay percent as the percentage of time process cpu time since last scan.
* Remove libtool referencesEmil Velikov2017-09-221-3/+0
| | | | | | | | | The project builds a single standalone binary. There are no libraries created - be that static or shared ones. Thus there's no need for libtool. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* Security review: make privilege dropping-restoring optional.Hisham Muhammad2017-07-261-0/+6
| | | | | | | This is/was necessary only on macOS, because you needed root in order to read the process list. This was never necessary on Linux, and it also raises security concerns, so now it needs to be enabled explicitly at build time.
* Add a clear warning about unsupported platforms.Hisham Muhammad2017-07-101-0/+14
| | | | Closes #648.
* Initial addition of dragonflybsd (based on FreeBSD)Diederik de Groot2017-04-191-9/+14
|
* Downgrade requirement to Libtool 2.4.0.Hisham2016-09-111-1/+1
| | | | Courtesy to OpenWRT environments as requested by @champtar in #540.
* Preparing release 2.0.2, a minor bugfix release.Hisham2016-07-211-1/+1
|
* Merge pull request #524 from ricardo0y/cross_compile_with_ncurses_configHisham Muhammad2016-07-121-1/+6
|\ | | | | Allow to override ncurses*-config path
| * Allow to override ncurses*-config pathRicardo Martincoski2016-07-111-1/+6
| | | | | | | | | | | | | | | | This will be used when cross-compiling with ncurses*-config generated for the target, using constructs like HTOP_NCURSES_CONFIG_SCRIPT=/path/to/ncurses5-config Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
* | Fail early if libtool is not present.Hisham2016-05-191-0/+1
| |
* | Reorder configure macros to avoid "missing script" warning.Explorer092016-05-081-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3 effects in this commit, with the first being the main one: 1. Fix the "`missing' script is too old or missing" warning. See: <https://lists.gnu.org/archive/html/automake/2010-08/msg00108.html> 2. By moving AC_CANONICAL_TARGET down in order, we are now able to set the directory for auxiliary scripts. For now it's still './'. I added the line "AC_CONFIG_AUX_DIR([.])" to show that the directory change is possible. 3. AC_USE_SYSTEM_EXTENSIONS includes checks from AC_PROG_CC, by moving the former macro down, we can save size in 'configure' by not generating repeated checks.
* | Replace deprecated autoconf macros.Explorer092016-05-081-18/+17
| | | | | | | | | | | | | | | | | | | | | | AC_HELP_STRING -> AS_HELP_STRING AC_TRY_COMPILE -> AC_COMPILE_IFELSE([AC_LANG_PROGRAM([...])],...) AC_CONFIG_HEADER -> AC_CONFIG_HEADERS AC_PROG_LIBTOOL -> LT_INIT Note: There might be more deprecated macros that I haven't noticed. I just wish to avoid painful highlighting from my text editor (gedit) that complains about them. :)
* | Merge pull request #472 from jrtc27/hurdHisham Muhammad2016-05-041-5/+5
|\ \ | | | | | | Use Linux backend on the Hurd
| * | Use Linux backend on the HurdJames Clarke2016-04-181-1/+1
| | |
| * | Use $target_os instead of $target in configure.acJames Clarke2016-04-181-5/+5
| |/
* / Improve reproducible builds.Hisham2016-05-041-1/+2
|/ | | | | Use a SOURCE_DATA_EPOCH friendly date. Suggested by @fasterit in #476.
* Prepare for release 2.0.1.2.0.1Hisham2016-03-071-1/+1
|
* Portable affinity using hwlocHisham2016-02-141-6/+6
|
* Try to make threads less confusing.Hisham2016-02-021-1/+1
|
* use AC_HELP_STRING for proc dirChristian Hesse2016-01-051-1/+1
|
* Oops!Hisham Muhammad2015-12-091-1/+1
|
* More thorough checks for ncurses*-config scripts.Hisham Muhammad2015-12-091-28/+40
| | | | See #198.
* If ncurses*-config script is present, use it in configureHisham Muhammad2015-12-061-2/+9
| | | | when testing for ncurses library. See #198.
* Use ncurses*-config scripts bundled with ncurses.Hisham Muhammad2015-11-301-7/+22
| | | | | | | Ensure that all necessary libs and flags are passed along, such as adding -ltinfo when needed. Closes #198.
* Test for unicode-enabled libncursesHisham Muhammad2015-11-191-4/+6
|
* (Very) initial working OpenBSD portMichael McConville2015-09-181-0/+8
|
* Make Unicode strings safe for ncurses 6 ABI.Hisham Muhammad2015-08-201-1/+4
| | | | Closes #241.
* Support for NCurses 6.0 and mouse wheelHisham Muhammad2015-08-191-3/+5
|
* Added darwin with working battery meterDavid Hunt2015-08-191-0/+4
|
* Enable OOM support unconditionally on Linux.Hisham Muhammad2015-04-091-5/+0
| | | | | Read OOM data only if column is enabled. Make sort ordering more consistent. Closes #182.

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