-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
5 changed files
with
46 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters