Readline
- Made use of readline wordexp conditional upon the presence of wordexp.h, which is correct, but excludes certain BSDs.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
cmake_minimum_required (VERSION 2.8)
|
||||
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
|
||||
|
||||
include (CheckIncludeFiles)
|
||||
include (CheckFunctionExists)
|
||||
include (CheckStructHasMember)
|
||||
|
||||
@@ -89,6 +90,8 @@ if (READLINE_FOUND)
|
||||
set (TASK_LIBRARIES ${TASK_LIBRARIES} ${READLINE_LIBRARIES})
|
||||
endif (READLINE_FOUND)
|
||||
|
||||
check_include_files (wordexp.h HAVE_WORDEXP_H)
|
||||
|
||||
check_function_exists (timegm HAVE_TIMEGM)
|
||||
check_function_exists (get_current_dir_name HAVE_GET_CURRENT_DIR_NAME)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user