HomeClusterLabs Projects

Build: configure: Rework curses detection.

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

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

Commit No Longer Exists

This commit no longer exists in the repository.