Skip to content

CI: Fix configure.ac help text where defaults are literal dollar-varname now #3049

@jimklimov

Description

@jimklimov

Check configure --help output: E_too_many_dollars.

Macros to process with/enable script arguments take their parameters literally (not substituting the default or previously-set values).

  --with-docs-man-section-api
                          man page section for library APIs
                          (${DEFAULT_MAN_SECTION_API})
  --with-docs-man-section-cfg
                          man page section for configuration files
                          (${DEFAULT_MAN_SECTION_CFG})
  --with-docs-man-section-cmd-sys
                          man page section for system management commands
                          (${DEFAULT_MAN_SECTION_CMD_SYS})
  --with-docs-man-section-cmd-usr
                          man page section for user commands
                          (${DEFAULT_MAN_SECTION_CMD_USR})
  --with-docs-man-section-misc
                          man page section for overviews, conventions, and
                          miscellaneous (${DEFAULT_MAN_SECTION_MISC})

  --with-statepath=PATH   path for ups state files (${STATEPATH}, typically
                          /var/state/ups)
  --with-altpidpath=PATH  path for NUT driver/upsd .pid files not running as
                          root (<statepath>)
  --with-pidpath=PATH     Path for root-owned .pid files (${PIDPATH},
                          typically /var/run)

Reword, maybe in a WET manner? Or use internet tricks with an m4_define() to both set the default value and report it as a variable expansion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIEntries related to continuous integration infrastructure (here CI = tools + scripts + recipes)documentationportabilityWe want NUT to build and run everywhere possible

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions