Mahmoud Al-Qudsi
a5ef1e395e
Use standard __CYGWIN__ define for Cygwin detection
...
(cherry picked from commit 462cb6044c
)
2019-01-23 17:46:07 -06:00
Mahmoud Al-Qudsi
91ac0f1b18
Work around for Cygwin's broken job control resolving fish 3.0 hang
...
(cherry picked from commit d1913f0df0
)
2019-01-23 17:46:00 -06:00
Mahmoud Al-Qudsi
55526947d2
Fix locale_t
under macOS 10.10
...
`xlocale.h` is not available on Linux, so we can't just universally
include it.
`HAVE_XLOCALE_H` was already being tested/set in the CMake script as a
possible requirement for `wcstod_l` support, this just adds it to
`config_cmake_h.in` and uses it in `wutil.h` to gate the include.
2019-01-23 14:05:51 +01:00
Fabian Homborg
8ff8124765
cmake: Add missing HAVE_WCSTOD_L #cmakedefine
...
Turns out we've been using the fallback everywhere.
See #5453 .
(cherry picked from commit 7078aa4642
)
2019-01-21 17:49:02 +11:00
David Adam
d6e315d25d
cmake: define _GNU_SOURCE
...
Fixes the build on Cygwin. Analogous to AC_USE_SYSTEM_EXTENSIONS under Autoconf.
Closes #5423 .
2018-12-20 21:36:01 +08:00
Aaron Gyes
f2a829aa23
Direct people to github to report bugs.
2018-12-11 02:47:34 -08:00
Mahmoud Al-Qudsi
000892e315
Use constexpr for is_windows_subsystem_for_linux()
...
To guarantee that at runtime there will be no branching, using a CMAKE
test/define combined with a constexpr wrapper for code-friendliness.
2018-03-04 21:13:31 -06:00
Mahmoud Al-Qudsi
a95a83b140
[cmake] Add missing HAVE_CURSES_H #cmakedefine
2018-02-04 03:11:22 -06:00
David Adam
ce46c80492
cmake: restore check for fixed-args tparm ("Solaris tparm kludge")
2017-11-22 18:58:27 +08:00
David Adam
64194d02fc
cmake: correct configure check for _nl_msg_cat_cntr
2017-11-17 16:21:56 +08:00
David Adam
32714021f5
cmake: add gettext support
2017-11-17 16:21:56 +08:00
David Adam
2f289ce097
cmake: drop unneeded checks
...
Much cruft brought across from autoconf is removed.
2017-11-17 16:21:56 +08:00
ridiculousfish
9f8ae95b0e
Initial CMake import
...
This adds a basic CMakeLists.txt. It also adds a ConfigureChecks.cmake
and config_cmake.h.in that produces a config.h.
2017-10-14 13:11:41 -07:00