summaryrefslogtreecommitdiff
path: root/Modules/FindCurses.cmake
diff options
context:
space:
mode:
authorÅdne Hovda <ahovda@openit.com>2014-11-17 12:11:55 +0100
committerBrad King <brad.king@kitware.com>2014-11-17 10:32:52 -0500
commitd931ba60216dfcb5f94ffc3b8e6d977b1e4dc22f (patch)
treea0a4929ec8b622a4f955353dbad069e81bf62643 /Modules/FindCurses.cmake
parent54ff77dc621a91302abad0ab38d9bd26de8914b9 (diff)
downloadcmake-d931ba60216dfcb5f94ffc3b8e6d977b1e4dc22f.tar.gz
FindCurses: Drop search for deprecated HP-UX cur_colr library
Since commit b22e2de8 (HPUX support, 2001-11-05) the FindCurses module searches for a 'cur_colr' library, but that is not needed anymore. AFAICT, the cur_colr package was introduced in HP-UX 10.00 and marked as deprecated in 10.30 by X/OPEN curses (which replaced the even older HP curses in 10.10). In order to use cur_colr after 10.10 you should use the /usr/include/curses_colr when compiling. Since FindCurses doesn't even search that path the headers cannot possibly match out of the box. If users want cur_colr they can set the cache entries by hand. There is no 64-bit version of cur_colr in 11.11PA and it will be gone completely in 11.31PA: http://h21007.www2.hp.com/portal/download/files/unprot/STK/HPUX_STK/impacts/i964.html It is simplest to drop cur_colr support from FindCurses since it was only partially implemented anyway.
Diffstat (limited to 'Modules/FindCurses.cmake')
-rw-r--r--Modules/FindCurses.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/Modules/FindCurses.cmake b/Modules/FindCurses.cmake
index 0184c39def..c628ab0a9c 100644
--- a/Modules/FindCurses.cmake
+++ b/Modules/FindCurses.cmake
@@ -178,11 +178,6 @@ if(NOT DEFINED CURSES_HAVE_CURSES_H)
endif()
endif()
-if (NOT CURSES_TINFO_HAS_CBREAK)
- find_library(CURSES_EXTRA_LIBRARY cur_colr HINTS "${_cursesLibDir}")
- find_library(CURSES_EXTRA_LIBRARY cur_colr )
-endif()
-
find_library(CURSES_FORM_LIBRARY form HINTS "${_cursesLibDir}")
find_library(CURSES_FORM_LIBRARY form )