HomeClusterLabs Projects

Build: configure: Rework curses detection.

Description

Build: configure: Rework curses detection.

  • Get rid of the large block in configure.ac in favor of using AC_SEARCH_LIBS.
  • Rename CURSES_ENABLED to PCMK__ENABLE_CURSES.
  • Simplify the block in crm_mon.h to only check for the right header to include. Whether or not to build with curses is entirely handled by configure.ac now.
  • Rename CURSESLIBS to CURSES_LIBS for consistency.
  • Get rid of PC_NAME_CURSES and PC_LIBS_CURSES, which aren't used anywhere.
  • Get rid of HAVE_INCOMPATIBLE_PRINTW. Instead of having this duplicate flag, we can just set PCMK__ENABLE_CURSES based on this test.

Related T876

Details

Provenance
clumensAuthored on Oct 10 2024, 11:22 AM
Parents
rP0f75163ac3c5: Build: configure: Use AC_SEARCH_LIBS for pam.
Branches
Unknown
Tags
Unknown