Skip to content

[FEATURE] Build system rewrite in autotools or meson #267

@thesamesam

Description

@thesamesam

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions