mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Use the FindLibEdit.cmake module from LLDB to properly control where the libedit libraries are searched for and linked from as well as where the headers come from. This uses the standard mechanisms which allows users to control where libedit is pulled from (which is important for cross-compilation). This second version is more aggressive about pruning the libedit handling. The Ubuntu 14.04 version of libedit does not have `histedit.h`, and the intent is to rely on that to determine if we have unicode support or not.
14 lines
288 B
C
14 lines
288 B
C
// This file is processed by CMake.
|
|
// See https://cmake.org/cmake/help/v3.0/command/configure_file.html.
|
|
|
|
#ifndef SWIFT_CONFIG_H
|
|
#define SWIFT_CONFIG_H
|
|
|
|
#cmakedefine SWIFT_HAVE_WORKING_STD_REGEX 1
|
|
|
|
#cmakedefine HAVE_WAIT4 1
|
|
|
|
#cmakedefine HAVE_PROC_PID_RUSAGE 1
|
|
|
|
#endif // SWIFT_CONFIG_H
|