-
Notifications
You must be signed in to change notification settings - Fork 124
Description
Is your feature request related to a problem? Please describe.
lsof's current Configure script is handwritten and causes problems for cross-compilation for example as it tries to build-and-execute binaries to determine properties of the system.
This requires awkward patching and workarounds downstream in e.g. Gentoo.
Describe the solution you'd like
A rewrite of the build system to either autotools or meson, both of which would solve this problem and are standard in the community.
Describe alternatives you've considered
The configure script could develop additional options to allow overrides for e.g. cross-compile, but this wouldn't solve all the issues (see below).
Additional context
Various cross bugs which are awkward to handle/patch correctly:
The handwritten configure script often doesn't conform to modern standards: