HomeClusterLabs Projects

Build: configure: require GNU-compatible getopt when building

Description

Build: configure: require GNU-compatible getopt when building

Some of Pacemaker's shell scripts use GNU getopt syntax for argument parsing,
and thus will fail when the first getopt on the PATH is something else (like
BSD getopt).

When configuring, search the entire PATH for a GNU-compatible getopt, exiting
with an error if none is found, and set a new substitution variable GETOPT_PATH
to its full path.

Details

Provenance
kgaillotAuthored on Apr 5 2018, 11:18 AM
Parents
rPb356fada4a4a: Build: configure: ensure PYTHON is a full path
Branches
Unknown
Tags
Unknown

Event Timeline