Mercurial > vim
annotate src/config.h.in @ 32936:c517845bd10e v9.0.1776
patch 9.0.1776: No support for stable Python 3 ABI
Commit: https://github.com/vim/vim/commit/c13b3d1350b60b94fe87f0761ea31c0e7fb6ebf3
Author: Yee Cheng Chin <ychin.git@gmail.com>
Date: Sun Aug 20 21:18:38 2023 +0200
patch 9.0.1776: No support for stable Python 3 ABI
Problem: No support for stable Python 3 ABI
Solution: Support Python 3 stable ABI
Commits:
1) Support Python 3 stable ABI to allow mixed version interoperatbility
Vim currently supports embedding Python for use with plugins, and the
"dynamic" linking option allows the user to specify a locally installed
version of Python by setting `pythonthreedll`. However, one caveat is
that the Python 3 libs are not binary compatible across minor versions,
and mixing versions can potentially be dangerous (e.g. let's say Vim was
linked against the Python 3.10 SDK, but the user sets `pythonthreedll`
to a 3.11 lib). Usually, nothing bad happens, but in theory this could
lead to crashes, memory corruption, and other unpredictable behaviors.
It's also difficult for the user to tell something is wrong because Vim
has no way of reporting what Python 3 version Vim was linked with.
For Vim installed via a package manager, this usually isn't an issue
because all the dependencies would already be figured out. For prebuilt
Vim binaries like MacVim (my motivation for working on this), AppImage,
and Win32 installer this could potentially be an issue as usually a
single binary is distributed. This is more tricky when a new Python
version is released, as there's a chicken-and-egg issue with deciding
what Python version to build against and hard to keep in sync when a new
Python version just drops and we have a mix of users of different Python
versions, and a user just blindly upgrading to a new Python could lead to
bad interactions with Vim.
Python 3 does have a solution for this problem: stable ABI / limited API
(see https://docs.python.org/3/c-api/stable.html). The C SDK limits the
API to a set of functions that are promised to be stable across
versions. This pull request adds an ifdef config that allows us to turn
it on when building Vim. Vim binaries built with this option should be
safe to freely link with any Python 3 libraies without having the
constraint of having to use the same minor version.
Note: Python 2 has no such concept and this doesn't change how Python 2
integration works (not that there is going to be a new version of Python
2 that would cause compatibility issues in the future anyway).
---
Technical details:
======
The stable ABI can be accessed when we compile with the Python 3 limited
API (by defining `Py_LIMITED_API`). The Python 3 code (in `if_python3.c`
and `if_py_both.h`) would now handle this and switch to limited API
mode. Without it set, Vim will still use the full API as before so this
is an opt-in change.
The main difference is that `PyType_Object` is now an opaque struct that
we can't directly create "static types" out of, and we have to create
type objects as "heap types" instead. This is because the struct is not
stable and changes from version to version (e.g. 3.8 added a
`tp_vectorcall` field to it). I had to change all the types to be
allocated on the heap instead with just a pointer to them.
Other functions are also simply missing in limited API, or they are
introduced too late (e.g. `PyUnicode_AsUTF8AndSize` in 3.10) to it that
we need some other ways to do the same thing, so I had to abstract a few
things into macros, and sometimes re-implement functions like
`PyObject_NEW`.
One caveat is that in limited API, `OutputType` (used for replacing
`sys.stdout`) no longer inherits from `PyStdPrinter_Type` which I don't
think has any real issue other than minor differences in how they
convert to a string and missing a couple functions like `mode()` and
`fileno()`.
Also fixed an existing bug where `tp_basicsize` was set incorrectly for
`BufferObject`, `TabListObject, `WinListObject`.
Technically, there could be a small performance drop, there is a little
more indirection with accessing type objects, and some APIs like
`PyUnicode_AsUTF8AndSize` are missing, but in practice I didn't see any
difference, and any well-written Python plugin should try to avoid
excessing callbacks to the `vim` module in Python anyway.
I only tested limited API mode down to Python 3.7, which seemes to
compile and work fine. I haven't tried earlier Python versions.
2) Fix PyIter_Check on older Python vers / type##Ptr unused warning
For PyIter_Check, older versions exposed them as either macros (used in
full API), or a function (for use in limited API). A previous change
exposed PyIter_Check to the dynamic build because Python just moved it
to function-only in 3.10 anyway. Because of that, just make sure we
always grab the function in dynamic builds in earlier versions since
that's what Python eventually did anyway.
3) Move Py_LIMITED_API define to configure script
Can now use --with-python-stable-abi flag to customize what stable ABI
version to target. Can also use an env var to do so as well.
4) Show +python/dyn-stable in :version, and allow has() feature query
Not sure if the "/dyn-stable" suffix would break things, or whether we
should do it another way. Or just don't show it in version and rely on
has() feature checking.
5) Documentation first draft. Still need to implement v:python3_version
6) Fix PyIter_Check build breaks when compiling against Python 3.8
7) Add CI coverage stable ABI on Linux/Windows / make configurable on Windows
This adds configurable options for Windows make files (both MinGW and
MSVC). CI will also now exercise both traditional full API and stable
ABI for Linux and Windows in the matrix for coverage.
Also added a "dynamic" option to Linux matrix as a drive-by change to
make other scripting languages like Ruby / Perl testable under both
static and dynamic builds.
8) Fix inaccuracy in Windows docs
Python's own docs are confusing but you don't actually want to use
`python3.dll` for the dynamic linkage.
9) Add generated autoconf file
10) Add v:python3_version support
This variable indicates the version of Python3 that Vim was built
against (PY_VERSION_HEX), and will be useful to check whether the Python
library you are loading in dynamically actually fits it. When built with
stable ABI, it will be the limited ABI version instead
(`Py_LIMITED_API`), which indicates the minimum version of Python 3 the
user should have, rather than the exact match. When stable ABI is used,
we won't be exposing PY_VERSION_HEX in this var because it just doesn't
seem necessary to do so (the whole point of stable ABI is the promise
that it will work across versions), and I don't want to confuse the user
with too many variables.
Also, cleaned up some documentation, and added help tags.
11) Fix Python 3.7 compat issues
Fix a couple issues when using limited API < 3.8
- Crash on exit: In Python 3.7, if a heap-allocated type is destroyed
before all instances are, it would cause a crash later. This happens
when we destroyed `OptionsType` before calling `Py_Finalize` when
using the limited API. To make it worse, later versions changed the
semantics and now each instance has a strong reference to its own type
and the recommendation has changed to have each instance de-ref its
own type and have its type in GC traversal. To avoid dealing with
these cross-version variations, we just don't free the heap type. They
are static types in non-limited-API anyway and are designed to last
through the entirety of the app, and we also don't restart the Python
runtime and therefore do not need it to have absolutely 0 leaks.
See:
- https://docs.python.org/3/whatsnew/3.8.html#changes-in-the-c-api
- https://docs.python.org/3/whatsnew/3.9.html#changes-in-the-c-api
- PyIter_Check: This function is not provided in limited APIs older than
3.8. Previously I was trying to mock it out using manual
PyType_GetSlot() but it was brittle and also does not actually work
properly for static types (it will generate a Python error). Just
return false. It does mean using limited API < 3.8 is not recommended
as you lose the functionality to handle iterators, but from playing
with plugins I couldn't find it to be an issue.
- Fix loading of PyIter_Check so it will be done when limited API < 3.8.
Otherwise loading a 3.7 Python lib will fail even if limited API was
specified to use it.
12) Make sure to only load `PyUnicode_AsUTF8AndSize` in needed in limited API
We don't use this function unless limited API >= 3.10, but we were
loading it regardless. Usually it's ok in Unix-like systems where Python
just has a single lib that we load from, but in Windows where there is a
separate python3.dll this would not work as the symbol would not have
been exposed in this more limited DLL file. This makes it much clearer
under what condition is this function needed.
closes: #12032
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 20 Aug 2023 21:30:04 +0200 |
parents | b2cce50602ca |
children | dcfbfe57141c |
rev | line source |
---|---|
7 | 1 /* |
10375
2055d3722c5b
commit https://github.com/vim/vim/commit/3f7d0907269558cb3ea184a3083640f9e20bb21e
Christian Brabandt <cb@256bit.org>
parents:
10297
diff
changeset
|
2 * config.h.in. Originally generated automatically from configure.ac by |
2055d3722c5b
commit https://github.com/vim/vim/commit/3f7d0907269558cb3ea184a3083640f9e20bb21e
Christian Brabandt <cb@256bit.org>
parents:
10297
diff
changeset
|
3 * autoheader and manually changed after that. |
7 | 4 */ |
5 | |
6 /* Define if we have EBCDIC code */ | |
7 #undef EBCDIC | |
8 | |
9 /* Define unless no X support found */ | |
10 #undef HAVE_X11 | |
11 | |
12 /* Define when terminfo support found */ | |
13 #undef TERMINFO | |
14 | |
15 /* Define when termcap.h contains ospeed */ | |
16 #undef HAVE_OSPEED | |
17 | |
18 /* Define when ospeed can be extern */ | |
19 #undef OSPEED_EXTERN | |
20 | |
21 /* Define when termcap.h contains UP, BC and PC */ | |
22 #undef HAVE_UP_BC_PC | |
23 | |
24 /* Define when UP, BC and PC can be extern */ | |
25 #undef UP_BC_PC_EXTERN | |
26 | |
27 /* Define when termcap.h defines outfuntype */ | |
28 #undef HAVE_OUTFUNTYPE | |
29 | |
26177
13e09dc59f0f
patch 8.2.3620: memory leak reported in libtlib
Bram Moolenaar <Bram@vim.org>
parents:
25953
diff
changeset
|
30 /* Define when del_curterm() is available */ |
13e09dc59f0f
patch 8.2.3620: memory leak reported in libtlib
Bram Moolenaar <Bram@vim.org>
parents:
25953
diff
changeset
|
31 #undef HAVE_DEL_CURTERM |
13e09dc59f0f
patch 8.2.3620: memory leak reported in libtlib
Bram Moolenaar <Bram@vim.org>
parents:
25953
diff
changeset
|
32 |
7 | 33 /* Define when __DATE__ " " __TIME__ can be used */ |
34 #undef HAVE_DATE_TIME | |
35 | |
20713
5ddd4df27068
patch 8.2.0910: Vim is not reproducibly buildable
Bram Moolenaar <Bram@vim.org>
parents:
20311
diff
changeset
|
36 /* Defined from $SOURCE_DATE_EPOCH, used as the build date */ |
5ddd4df27068
patch 8.2.0910: Vim is not reproducibly buildable
Bram Moolenaar <Bram@vim.org>
parents:
20311
diff
changeset
|
37 #undef BUILD_DATE |
5ddd4df27068
patch 8.2.0910: Vim is not reproducibly buildable
Bram Moolenaar <Bram@vim.org>
parents:
20311
diff
changeset
|
38 |
1876 | 39 /* Define when __attribute__((unused)) can be used */ |
40 #undef HAVE_ATTRIBUTE_UNUSED | |
41 | |
7 | 42 /* defined always when using configure */ |
43 #undef UNIX | |
44 | |
45 /* Defined to the size of an int */ | |
5684 | 46 #undef VIM_SIZEOF_INT |
7 | 47 |
2241
60da25e3aab7
Correct use of long instead of off_t for file size. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2232
diff
changeset
|
48 /* Defined to the size of a long */ |
5684 | 49 #undef VIM_SIZEOF_LONG |
2241
60da25e3aab7
Correct use of long instead of off_t for file size. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2232
diff
changeset
|
50 |
60da25e3aab7
Correct use of long instead of off_t for file size. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2232
diff
changeset
|
51 /* Defined to the size of off_t */ |
60da25e3aab7
Correct use of long instead of off_t for file size. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2232
diff
changeset
|
52 #undef SIZEOF_OFF_T |
60da25e3aab7
Correct use of long instead of off_t for file size. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2232
diff
changeset
|
53 |
2232
2e6906bbc5f4
A few more fixes for undo file. Split test in two parts so that it doesn't
Bram Moolenaar <bram@vim.org>
parents:
2199
diff
changeset
|
54 /* Defined to the size of time_t */ |
2e6906bbc5f4
A few more fixes for undo file. Split test in two parts so that it doesn't
Bram Moolenaar <bram@vim.org>
parents:
2199
diff
changeset
|
55 #undef SIZEOF_TIME_T |
2e6906bbc5f4
A few more fixes for undo file. Split test in two parts so that it doesn't
Bram Moolenaar <bram@vim.org>
parents:
2199
diff
changeset
|
56 |
1887 | 57 /* Define when wchar_t is only 2 bytes. */ |
58 #undef SMALL_WCHAR_T | |
59 | |
7 | 60 /* |
61 * If we cannot trust one of the following from the libraries, we use our | |
62 * own safe but probably slower vim_memmove(). | |
63 */ | |
64 #undef USEBCOPY | |
65 #undef USEMEMMOVE | |
66 #undef USEMEMCPY | |
67 | |
68 /* Define when "man -s 2" is to be used */ | |
69 #undef USEMAN_S | |
70 | |
71 /* Define to empty if the keyword does not work. */ | |
72 #undef const | |
73 | |
1832 | 74 /* Define to empty if the keyword does not work. */ |
75 #undef volatile | |
76 | |
7 | 77 /* Define to `int' if <sys/types.h> doesn't define. */ |
78 #undef mode_t | |
79 | |
80 /* Define to `long' if <sys/types.h> doesn't define. */ | |
81 #undef off_t | |
82 | |
83 /* Define to `long' if <sys/types.h> doesn't define. */ | |
84 #undef pid_t | |
85 | |
86 /* Define to `unsigned' if <sys/types.h> doesn't define. */ | |
87 #undef size_t | |
88 | |
89 /* Define to `int' if <sys/types.h> doesn't define. */ | |
90 #undef uid_t | |
91 | |
2184
5028c4d6d825
Fixed encryption big/little endian test.
Bram Moolenaar <bram@vim.org>
parents:
2131
diff
changeset
|
92 /* Define to `unsigned int' or other type that is 32 bit. */ |
5028c4d6d825
Fixed encryption big/little endian test.
Bram Moolenaar <bram@vim.org>
parents:
2131
diff
changeset
|
93 #undef uint32_t |
5028c4d6d825
Fixed encryption big/little endian test.
Bram Moolenaar <bram@vim.org>
parents:
2131
diff
changeset
|
94 |
7 | 95 /* Define to `int' if <sys/types.h> doesn't define. */ |
96 #undef gid_t | |
97 | |
98 /* Define to `long' if <sys/types.h> doesn't define. */ | |
99 #undef ino_t | |
100 | |
101 /* Define to `unsigned' if <sys/types.h> doesn't define. */ | |
102 #undef dev_t | |
103 | |
2184
5028c4d6d825
Fixed encryption big/little endian test.
Bram Moolenaar <bram@vim.org>
parents:
2131
diff
changeset
|
104 /* Define on big-endian machines */ |
5028c4d6d825
Fixed encryption big/little endian test.
Bram Moolenaar <bram@vim.org>
parents:
2131
diff
changeset
|
105 #undef WORDS_BIGENDIAN |
5028c4d6d825
Fixed encryption big/little endian test.
Bram Moolenaar <bram@vim.org>
parents:
2131
diff
changeset
|
106 |
7 | 107 /* Define to `unsigned long' if <sys/types.h> doesn't define. */ |
108 #undef rlim_t | |
109 | |
110 /* Define to `struct sigaltstack' if <signal.h> doesn't define. */ | |
111 #undef stack_t | |
112 | |
113 /* Define if stack_t has the ss_base field. */ | |
114 #undef HAVE_SS_BASE | |
115 | |
116 /* Define if you can safely include both <sys/time.h> and <time.h>. */ | |
117 #undef TIME_WITH_SYS_TIME | |
118 | |
119 /* Define if you can safely include both <sys/time.h> and <sys/select.h>. */ | |
120 #undef SYS_SELECT_WITH_SYS_TIME | |
121 | |
14718
cf33c47d66aa
patch 8.1.0371: argument types for select() may be wrong
Christian Brabandt <cb@256bit.org>
parents:
13923
diff
changeset
|
122 /* Define to a typecast for select() arguments 2, 3 and 4. */ |
cf33c47d66aa
patch 8.1.0371: argument types for select() may be wrong
Christian Brabandt <cb@256bit.org>
parents:
13923
diff
changeset
|
123 #undef SELECT_TYPE_ARG234 |
cf33c47d66aa
patch 8.1.0371: argument types for select() may be wrong
Christian Brabandt <cb@256bit.org>
parents:
13923
diff
changeset
|
124 |
7 | 125 /* Define if you have /dev/ptc */ |
126 #undef HAVE_DEV_PTC | |
127 | |
128 /* Define if you have Sys4 ptys */ | |
129 #undef HAVE_SVR4_PTYS | |
130 | |
131 /* Define to range of pty names to try */ | |
132 #undef PTYRANGE0 | |
133 #undef PTYRANGE1 | |
134 | |
135 /* Define if struct sigcontext is present */ | |
136 #undef HAVE_SIGCONTEXT | |
137 | |
30986
360f286b5869
patch 9.0.0828: various typos
Bram Moolenaar <Bram@vim.org>
parents:
30731
diff
changeset
|
138 /* Define if toupper/tolower only work on lower/uppercase characters */ |
7 | 139 #undef BROKEN_TOUPPER |
140 | |
141 /* Define if stat() ignores a trailing slash */ | |
142 #undef STAT_IGNORES_SLASH | |
143 | |
25953
d7e1cf30728c
patch 8.2.3510: changes are only detected with one second accuracy
Bram Moolenaar <Bram@vim.org>
parents:
24970
diff
changeset
|
144 /* Define to nanoseconds field of struct stat */ |
d7e1cf30728c
patch 8.2.3510: changes are only detected with one second accuracy
Bram Moolenaar <Bram@vim.org>
parents:
24970
diff
changeset
|
145 #undef ST_MTIM_NSEC |
d7e1cf30728c
patch 8.2.3510: changes are only detected with one second accuracy
Bram Moolenaar <Bram@vim.org>
parents:
24970
diff
changeset
|
146 |
7 | 147 /* Define if tgetstr() has a second argument that is (char *) */ |
148 #undef TGETSTR_CHAR_P | |
149 | |
150 /* Define if tgetent() returns zero for an error */ | |
151 #undef TGETENT_ZERO_ERR | |
152 | |
153 /* Define if the getcwd() function should not be used. */ | |
154 #undef BAD_GETCWD | |
155 | |
156 /* Define if you the function: */ | |
157 #undef HAVE_FCHDIR | |
158 #undef HAVE_FCHOWN | |
12847
14f287552218
patch 8.0.1300: file permissions may end up wrong when writing
Christian Brabandt <cb@256bit.org>
parents:
12837
diff
changeset
|
159 #undef HAVE_FCHMOD |
7 | 160 #undef HAVE_FSEEKO |
161 #undef HAVE_FSYNC | |
12847
14f287552218
patch 8.0.1300: file permissions may end up wrong when writing
Christian Brabandt <cb@256bit.org>
parents:
12837
diff
changeset
|
162 #undef HAVE_FTRUNCATE |
7 | 163 #undef HAVE_GETCWD |
11115
3b36da20ad73
patch 8.0.0445: getpgid is not supported on all systems
Christian Brabandt <cb@256bit.org>
parents:
10430
diff
changeset
|
164 #undef HAVE_GETPGID |
7 | 165 #undef HAVE_GETPSEUDOTTY |
3744 | 166 #undef HAVE_GETPWENT |
7 | 167 #undef HAVE_GETPWNAM |
168 #undef HAVE_GETPWUID | |
169 #undef HAVE_GETRLIMIT | |
170 #undef HAVE_GETTIMEOFDAY | |
171 #undef HAVE_GETWD | |
172 #undef HAVE_ICONV | |
20077
128963cd954f
patch 8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501
Bram Moolenaar <Bram@vim.org>
parents:
20003
diff
changeset
|
173 #undef HAVE_INET_NTOP |
16621
7ad3fc329e08
patch 8.1.1313: warnings for using localtime() and ctime()
Bram Moolenaar <Bram@vim.org>
parents:
16441
diff
changeset
|
174 #undef HAVE_LOCALTIME_R |
7 | 175 #undef HAVE_LSTAT |
176 #undef HAVE_MEMSET | |
1997 | 177 #undef HAVE_MKDTEMP |
7 | 178 #undef HAVE_NANOSLEEP |
11115
3b36da20ad73
patch 8.0.0445: getpgid is not supported on all systems
Christian Brabandt <cb@256bit.org>
parents:
10430
diff
changeset
|
179 #undef HAVE_NL_LANGINFO_CODESET |
7 | 180 #undef HAVE_OPENDIR |
16441
c1dca26a6949
patch 8.1.1225: cannot create a pty to use with :terminal on FreeBSD
Bram Moolenaar <Bram@vim.org>
parents:
15850
diff
changeset
|
181 #undef HAVE_POSIX_OPENPT |
7 | 182 #undef HAVE_PUTENV |
183 #undef HAVE_QSORT | |
184 #undef HAVE_READLINK | |
185 #undef HAVE_RENAME | |
186 #undef HAVE_SELECT | |
1583 | 187 #undef HAVE_SELINUX |
7 | 188 #undef HAVE_SETENV |
189 #undef HAVE_SETPGID | |
190 #undef HAVE_SETSID | |
191 #undef HAVE_SIGACTION | |
192 #undef HAVE_SIGALTSTACK | |
193 #undef HAVE_SIGSET | |
194 #undef HAVE_SIGSETJMP | |
195 #undef HAVE_SIGSTACK | |
10297
c90f4cc9c3fe
commit https://github.com/vim/vim/commit/bb09ceb95477ecc271854b3fdd8d2776eca66adf
Christian Brabandt <cb@256bit.org>
parents:
8997
diff
changeset
|
196 #undef HAVE_SIGPROCMASK |
7 | 197 #undef HAVE_SIGVEC |
5788 | 198 #undef HAVE_SMACK |
7 | 199 #undef HAVE_STRCASECMP |
20873
69055d27e85e
patch 8.2.0988: getting directory contents is always case sorted
Bram Moolenaar <Bram@vim.org>
parents:
20713
diff
changeset
|
200 #undef HAVE_STRCOLL |
7 | 201 #undef HAVE_STRERROR |
202 #undef HAVE_STRFTIME | |
203 #undef HAVE_STRICMP | |
204 #undef HAVE_STRNCASECMP | |
205 #undef HAVE_STRNICMP | |
206 #undef HAVE_STRPBRK | |
18669
9007e9896303
patch 8.1.2326: cannot parse a date/time string
Bram Moolenaar <Bram@vim.org>
parents:
17135
diff
changeset
|
207 #undef HAVE_STRPTIME |
7 | 208 #undef HAVE_STRTOL |
17004
353ed7ef78df
patch 8.1.1502: cannot play any sound
Bram Moolenaar <Bram@vim.org>
parents:
16621
diff
changeset
|
209 #undef HAVE_CANBERRA |
24970
7e9e53a0368f
patch 8.2.3022: available encryption methods are not strong enough
Bram Moolenaar <Bram@vim.org>
parents:
24089
diff
changeset
|
210 #undef HAVE_SODIUM |
7 | 211 #undef HAVE_ST_BLKSIZE |
212 #undef HAVE_SYSCONF | |
213 #undef HAVE_SYSCTL | |
214 #undef HAVE_SYSINFO | |
1110 | 215 #undef HAVE_SYSINFO_MEM_UNIT |
24089
cdeec1389c8c
patch 8.2.2586: process id may be invalid
Bram Moolenaar <Bram@vim.org>
parents:
24016
diff
changeset
|
216 #undef HAVE_SYSINFO_UPTIME |
7 | 217 #undef HAVE_TGETENT |
218 #undef HAVE_TOWLOWER | |
219 #undef HAVE_TOWUPPER | |
258 | 220 #undef HAVE_ISWUPPER |
17135
d03a52e02f1a
patch 8.1.1567: localtime_r() does not respond to $TZ changes
Bram Moolenaar <Bram@vim.org>
parents:
17004
diff
changeset
|
221 #undef HAVE_TZSET |
13923
e4d5726e1678
patch 8.0.1832: cannot use :unlet for an environment variable
Christian Brabandt <cb@256bit.org>
parents:
12847
diff
changeset
|
222 #undef HAVE_UNSETENV |
7 | 223 #undef HAVE_USLEEP |
224 #undef HAVE_UTIME | |
225 #undef HAVE_BIND_TEXTDOMAIN_CODESET | |
12716
351cf7c67bbe
patch 8.0.1236: Mac features are confusing
Christian Brabandt <cb@256bit.org>
parents:
11621
diff
changeset
|
226 #undef HAVE_MBLEN |
29071
b90bca860b5a
patch 8.2.5057: using gettimeofday() for timeout is very inefficient
Bram Moolenaar <Bram@vim.org>
parents:
27863
diff
changeset
|
227 #undef HAVE_TIMER_CREATE |
32238
b2cce50602ca
patch 9.0.1450: MacOS: building fails if clock_gettime() is not available
Bram Moolenaar <Bram@vim.org>
parents:
31555
diff
changeset
|
228 #undef HAVE_CLOCK_GETTIME |
7 | 229 |
2131
8ef9da918a98
updated for version 7.2.413
Bram Moolenaar <bram@zimbu.org>
parents:
2087
diff
changeset
|
230 /* Define, if needed, for accessing large files. */ |
8ef9da918a98
updated for version 7.2.413
Bram Moolenaar <bram@zimbu.org>
parents:
2087
diff
changeset
|
231 #undef _LARGE_FILES |
8ef9da918a98
updated for version 7.2.413
Bram Moolenaar <bram@zimbu.org>
parents:
2087
diff
changeset
|
232 #undef _FILE_OFFSET_BITS |
8ef9da918a98
updated for version 7.2.413
Bram Moolenaar <bram@zimbu.org>
parents:
2087
diff
changeset
|
233 #undef _LARGEFILE_SOURCE |
8ef9da918a98
updated for version 7.2.413
Bram Moolenaar <bram@zimbu.org>
parents:
2087
diff
changeset
|
234 |
7 | 235 /* Define if you do not have utime(), but do have the utimes() function. */ |
236 #undef HAVE_UTIMES | |
237 | |
238 /* Define if you have the header file: */ | |
239 #undef HAVE_DIRENT_H | |
31555
5aa54cbc6e20
patch 9.0.1110: build fails on Mac OS X 10.4/10.5
Bram Moolenaar <Bram@vim.org>
parents:
30986
diff
changeset
|
240 #undef HAVE_DISPATCH_DISPATCH_H |
7 | 241 #undef HAVE_ERRNO_H |
242 #undef HAVE_FCNTL_H | |
243 #undef HAVE_FRAME_H | |
244 #undef HAVE_ICONV_H | |
2199
014a996ac896
Use UINT32_T in the code, define it to uint32_t or unsigned int.
Bram Moolenaar <bram@vim.org>
parents:
2184
diff
changeset
|
245 #undef HAVE_INTTYPES_H |
7 | 246 #undef HAVE_LANGINFO_H |
247 #undef HAVE_LIBC_H | |
248 #undef HAVE_LIBGEN_H | |
249 #undef HAVE_LIBINTL_H | |
250 #undef HAVE_LOCALE_H | |
1621 | 251 #undef HAVE_MATH_H |
7 | 252 #undef HAVE_NDIR_H |
253 #undef HAVE_POLL_H | |
254 #undef HAVE_PTHREAD_NP_H | |
255 #undef HAVE_PWD_H | |
256 #undef HAVE_SETJMP_H | |
257 #undef HAVE_SGTTY_H | |
2199
014a996ac896
Use UINT32_T in the code, define it to uint32_t or unsigned int.
Bram Moolenaar <bram@vim.org>
parents:
2184
diff
changeset
|
258 #undef HAVE_STDINT_H |
7 | 259 #undef HAVE_STRINGS_H |
260 #undef HAVE_STROPTS_H | |
261 #undef HAVE_SYS_ACCESS_H | |
262 #undef HAVE_SYS_ACL_H | |
263 #undef HAVE_SYS_DIR_H | |
264 #undef HAVE_SYS_IOCTL_H | |
265 #undef HAVE_SYS_NDIR_H | |
266 #undef HAVE_SYS_PARAM_H | |
267 #undef HAVE_SYS_POLL_H | |
268 #undef HAVE_SYS_PTEM_H | |
15632
d4a6d575e910
patch 8.1.0824: SunOS/Solaris has a problem with ttys
Bram Moolenaar <Bram@vim.org>
parents:
15607
diff
changeset
|
269 #undef HAVE_SYS_PTMS_H |
7 | 270 #undef HAVE_SYS_RESOURCE_H |
271 #undef HAVE_SYS_SELECT_H | |
272 #undef HAVE_SYS_STATFS_H | |
273 #undef HAVE_SYS_STREAM_H | |
274 #undef HAVE_SYS_SYSCTL_H | |
275 #undef HAVE_SYS_SYSINFO_H | |
276 #undef HAVE_SYS_SYSTEMINFO_H | |
277 #undef HAVE_SYS_TIME_H | |
2241
60da25e3aab7
Correct use of long instead of off_t for file size. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2232
diff
changeset
|
278 #undef HAVE_SYS_TYPES_H |
7 | 279 #undef HAVE_SYS_UTSNAME_H |
280 #undef HAVE_TERMCAP_H | |
281 #undef HAVE_TERMIOS_H | |
282 #undef HAVE_TERMIO_H | |
2241
60da25e3aab7
Correct use of long instead of off_t for file size. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2232
diff
changeset
|
283 #undef HAVE_WCHAR_H |
60da25e3aab7
Correct use of long instead of off_t for file size. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2232
diff
changeset
|
284 #undef HAVE_WCTYPE_H |
7 | 285 #undef HAVE_UNISTD_H |
286 #undef HAVE_UTIL_DEBUG_H | |
287 #undef HAVE_UTIL_MSGI18N_H | |
288 #undef HAVE_UTIME_H | |
289 #undef HAVE_X11_SUNKEYSYM_H | |
290 #undef HAVE_XM_XM_H | |
291 #undef HAVE_XM_XPMP_H | |
148 | 292 #undef HAVE_XM_TRAITP_H |
293 #undef HAVE_XM_MANAGER_H | |
294 #undef HAVE_XM_UNHIGHLIGHTT_H | |
295 #undef HAVE_XM_JOINSIDET_H | |
838 | 296 #undef HAVE_XM_NOTEBOOK_H |
7 | 297 #undef HAVE_X11_XPM_H |
298 #undef HAVE_X11_XMU_EDITRES_H | |
299 #undef HAVE_X11_SM_SMLIB_H | |
300 | |
819 | 301 /* Define to the type of the XpmAttributes type. */ |
302 #undef XPMATTRIBUTES_TYPE | |
303 | |
7 | 304 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */ |
305 #undef HAVE_SYS_WAIT_H | |
306 | |
307 /* Define if you have a <sys/wait.h> that is not POSIX.1 compatible. */ | |
308 #undef HAVE_UNION_WAIT | |
309 | |
310 /* This is currently unused in vim: */ | |
311 /* Define if you have the ANSI C header files. */ | |
312 /* #undef STDC_HEADERS */ | |
313 | |
314 /* instead, we check a few STDC things ourselves */ | |
315 #undef HAVE_STDLIB_H | |
316 #undef HAVE_STRING_H | |
317 | |
318 /* Define if strings.h cannot be included when strings.h already is */ | |
319 #undef NO_STRINGS_WITH_STRING_H | |
320 | |
321 /* Define if you want tiny features. */ | |
322 #undef FEAT_TINY | |
323 | |
324 /* Define if you want normal features. */ | |
325 #undef FEAT_NORMAL | |
326 | |
327 /* Define if you want huge features. */ | |
328 #undef FEAT_HUGE | |
329 | |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2277
diff
changeset
|
330 /* Define if you want to include the Lua interpreter. */ |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2277
diff
changeset
|
331 #undef FEAT_LUA |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2277
diff
changeset
|
332 |
2373
f149bb1cf5be
Make it possible to load Lua dynamically on Unix. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2370
diff
changeset
|
333 /* Define for linking via dlopen() or LoadLibrary() */ |
f149bb1cf5be
Make it possible to load Lua dynamically on Unix. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2370
diff
changeset
|
334 #undef DYNAMIC_LUA |
f149bb1cf5be
Make it possible to load Lua dynamically on Unix. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2370
diff
changeset
|
335 |
14 | 336 /* Define if you want to include the MzScheme interpreter. */ |
337 #undef FEAT_MZSCHEME | |
338 | |
7 | 339 /* Define if you want to include the Perl interpreter. */ |
340 #undef FEAT_PERL | |
341 | |
2370
454f314d0e61
Make it possible to load Perl dynamically on Unix. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2329
diff
changeset
|
342 /* Define for linking via dlopen() or LoadLibrary() */ |
454f314d0e61
Make it possible to load Perl dynamically on Unix. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2329
diff
changeset
|
343 #undef DYNAMIC_PERL |
454f314d0e61
Make it possible to load Perl dynamically on Unix. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2329
diff
changeset
|
344 |
7 | 345 /* Define if you want to include the Python interpreter. */ |
346 #undef FEAT_PYTHON | |
347 | |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
348 /* Define if you want to include the Python3 interpreter. */ |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
349 #undef FEAT_PYTHON3 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
350 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
351 /* Define for linking via dlopen() or LoadLibrary() */ |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
352 #undef DYNAMIC_PYTHON |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
353 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
354 /* Define for linking via dlopen() or LoadLibrary() */ |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
355 #undef DYNAMIC_PYTHON3 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
356 |
32936
c517845bd10e
patch 9.0.1776: No support for stable Python 3 ABI
Christian Brabandt <cb@256bit.org>
parents:
32238
diff
changeset
|
357 /* Define if compiled against Python 3 stable ABI / limited API */ |
c517845bd10e
patch 9.0.1776: No support for stable Python 3 ABI
Christian Brabandt <cb@256bit.org>
parents:
32238
diff
changeset
|
358 #undef DYNAMIC_PYTHON3_STABLE_ABI |
c517845bd10e
patch 9.0.1776: No support for stable Python 3 ABI
Christian Brabandt <cb@256bit.org>
parents:
32238
diff
changeset
|
359 |
2554
7abef60aca22
Add a configure check for RTLD_GLOBAL. (James Vega, Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2373
diff
changeset
|
360 /* Define if dynamic python does not require RTLD_GLOBAL */ |
7abef60aca22
Add a configure check for RTLD_GLOBAL. (James Vega, Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2373
diff
changeset
|
361 #undef PY_NO_RTLD_GLOBAL |
7abef60aca22
Add a configure check for RTLD_GLOBAL. (James Vega, Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2373
diff
changeset
|
362 |
3038 | 363 /* Define if dynamic python3 does not require RTLD_GLOBAL */ |
364 #undef PY3_NO_RTLD_GLOBAL | |
365 | |
7 | 366 /* Define if you want to include the Ruby interpreter. */ |
367 #undef FEAT_RUBY | |
368 | |
2621 | 369 /* Define for linking via dlopen() or LoadLibrary() */ |
370 #undef DYNAMIC_RUBY | |
371 | |
7 | 372 /* Define if you want to include the Tcl interpreter. */ |
373 #undef FEAT_TCL | |
374 | |
7538
c9fc24b76293
commit https://github.com/vim/vim/commit/8a5115cf18751022387af2085f374d38c60dde83
Christian Brabandt <cb@256bit.org>
parents:
7380
diff
changeset
|
375 /* Define for linking via dlopen() or LoadLibrary() */ |
c9fc24b76293
commit https://github.com/vim/vim/commit/8a5115cf18751022387af2085f374d38c60dde83
Christian Brabandt <cb@256bit.org>
parents:
7380
diff
changeset
|
376 #undef DYNAMIC_TCL |
c9fc24b76293
commit https://github.com/vim/vim/commit/8a5115cf18751022387af2085f374d38c60dde83
Christian Brabandt <cb@256bit.org>
parents:
7380
diff
changeset
|
377 |
7 | 378 /* Define if you want to add support for ACL */ |
379 #undef HAVE_POSIX_ACL | |
3330 | 380 #undef HAVE_SOLARIS_ZFS_ACL |
7 | 381 #undef HAVE_SOLARIS_ACL |
382 #undef HAVE_AIX_ACL | |
383 | |
7098
70b56e5eccb2
commit https://github.com/vim/vim/commit/3cbe0c01ad71875bd662edb629f9e792a734f292
Christian Brabandt <cb@256bit.org>
parents:
6282
diff
changeset
|
384 /* Define if pango_shape_full() is available. */ |
70b56e5eccb2
commit https://github.com/vim/vim/commit/3cbe0c01ad71875bd662edb629f9e792a734f292
Christian Brabandt <cb@256bit.org>
parents:
6282
diff
changeset
|
385 #undef HAVE_PANGO_SHAPE_FULL |
70b56e5eccb2
commit https://github.com/vim/vim/commit/3cbe0c01ad71875bd662edb629f9e792a734f292
Christian Brabandt <cb@256bit.org>
parents:
6282
diff
changeset
|
386 |
7 | 387 /* Define if you want to add support of GPM (Linux console mouse daemon) */ |
388 #undef HAVE_GPM | |
389 | |
1621 | 390 /* Define if you want to add support of sysmouse (*BSD console mouse) */ |
391 #undef HAVE_SYSMOUSE | |
392 | |
7 | 393 /* Define if you want to include the Cscope interface. */ |
394 #undef FEAT_CSCOPE | |
395 | |
15136
1f3fe26f8e3f
patch 8.1.0578: cannot disable arabic, rightleft and farsi in configure
Bram Moolenaar <Bram@vim.org>
parents:
14718
diff
changeset
|
396 /* Define if you don't want to include right-left support. */ |
1f3fe26f8e3f
patch 8.1.0578: cannot disable arabic, rightleft and farsi in configure
Bram Moolenaar <Bram@vim.org>
parents:
14718
diff
changeset
|
397 #undef DISABLE_RIGHTLEFT |
1f3fe26f8e3f
patch 8.1.0578: cannot disable arabic, rightleft and farsi in configure
Bram Moolenaar <Bram@vim.org>
parents:
14718
diff
changeset
|
398 |
1f3fe26f8e3f
patch 8.1.0578: cannot disable arabic, rightleft and farsi in configure
Bram Moolenaar <Bram@vim.org>
parents:
14718
diff
changeset
|
399 /* Define if you don't want to include Arabic support. */ |
1f3fe26f8e3f
patch 8.1.0578: cannot disable arabic, rightleft and farsi in configure
Bram Moolenaar <Bram@vim.org>
parents:
14718
diff
changeset
|
400 #undef DISABLE_ARABIC |
1f3fe26f8e3f
patch 8.1.0578: cannot disable arabic, rightleft and farsi in configure
Bram Moolenaar <Bram@vim.org>
parents:
14718
diff
changeset
|
401 |
12837
963cdeb42c41
patch 8.0.1295: cannot automatically get a server name in a terminal
Christian Brabandt <cb@256bit.org>
parents:
12716
diff
changeset
|
402 /* Define if you want to always define a server name at vim startup. */ |
963cdeb42c41
patch 8.0.1295: cannot automatically get a server name in a terminal
Christian Brabandt <cb@256bit.org>
parents:
12716
diff
changeset
|
403 #undef FEAT_AUTOSERVERNAME |
963cdeb42c41
patch 8.0.1295: cannot automatically get a server name in a terminal
Christian Brabandt <cb@256bit.org>
parents:
12716
diff
changeset
|
404 |
7 | 405 /* Define if you want to include fontset support. */ |
406 #undef FEAT_XFONTSET | |
407 | |
408 /* Define if you want to include XIM support. */ | |
409 #undef FEAT_XIM | |
410 | |
411 /* Define if you use GTK and want GNOME support. */ | |
412 #undef FEAT_GUI_GNOME | |
413 | |
11 | 414 /* Define if you use KDE and want KDE Toolbar support. */ |
415 #undef FEAT_KDETOOLBAR | |
416 | |
7 | 417 /* Define if your X has own locale library */ |
418 #undef X_LOCALE | |
419 | |
420 /* Define if we have dlfcn.h. */ | |
421 #undef HAVE_DLFCN_H | |
422 | |
423 /* Define if there is a working gettext(). */ | |
424 #undef HAVE_GETTEXT | |
425 | |
426 /* Define if _nl_msg_cat_cntr is present. */ | |
427 #undef HAVE_NL_MSG_CAT_CNTR | |
428 | |
429 /* Define if we have dlopen() */ | |
430 #undef HAVE_DLOPEN | |
431 | |
432 /* Define if we have dlsym() */ | |
433 #undef HAVE_DLSYM | |
434 | |
435 /* Define if we have dl.h. */ | |
436 #undef HAVE_DL_H | |
437 | |
438 /* Define if we have shl_load() */ | |
439 #undef HAVE_SHL_LOAD | |
440 | |
20003
e373843e2980
patch 8.2.0557: no IPv6 support for channels
Bram Moolenaar <Bram@vim.org>
parents:
18671
diff
changeset
|
441 /* Define if we can use IPv6 networking. */ |
e373843e2980
patch 8.2.0557: no IPv6 support for channels
Bram Moolenaar <Bram@vim.org>
parents:
18671
diff
changeset
|
442 #undef FEAT_IPV6 |
e373843e2980
patch 8.2.0557: no IPv6 support for channels
Bram Moolenaar <Bram@vim.org>
parents:
18671
diff
changeset
|
443 |
7 | 444 /* Define if you want to include NetBeans integration. */ |
445 #undef FEAT_NETBEANS_INTG | |
446 | |
7743
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7538
diff
changeset
|
447 /* Define if you want to include process communication. */ |
8493
caed4b2d305f
commit https://github.com/vim/vim/commit/509ce2a558e7e0c03242e32e844255af52f1c821
Christian Brabandt <cb@256bit.org>
parents:
8289
diff
changeset
|
448 #undef FEAT_JOB_CHANNEL |
7743
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7538
diff
changeset
|
449 |
11621
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
11474
diff
changeset
|
450 /* Define if you want to include terminal emulator support. */ |
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
11474
diff
changeset
|
451 #undef FEAT_TERMINAL |
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
11474
diff
changeset
|
452 |
15205
54d2905bd5ab
patch 8.1.0612: cannot use two global runtime dirs with configure
Bram Moolenaar <Bram@vim.org>
parents:
15136
diff
changeset
|
453 // Define default global runtime path. |
7 | 454 #undef RUNTIME_GLOBAL |
455 | |
15205
54d2905bd5ab
patch 8.1.0612: cannot use two global runtime dirs with configure
Bram Moolenaar <Bram@vim.org>
parents:
15136
diff
changeset
|
456 // Define default global runtime after path. |
54d2905bd5ab
patch 8.1.0612: cannot use two global runtime dirs with configure
Bram Moolenaar <Bram@vim.org>
parents:
15136
diff
changeset
|
457 #undef RUNTIME_GLOBAL_AFTER |
54d2905bd5ab
patch 8.1.0612: cannot use two global runtime dirs with configure
Bram Moolenaar <Bram@vim.org>
parents:
15136
diff
changeset
|
458 |
7 | 459 /* Define name of who modified a released Vim */ |
460 #undef MODIFIED_BY | |
461 | |
462 /* Define if you want XSMP interaction as well as vanilla swapfile safety */ | |
463 #undef USE_XSMP_INTERACT | |
2003 | 464 |
465 /* Define if fcntl()'s F_SETFD command knows about FD_CLOEXEC */ | |
466 #undef HAVE_FD_CLOEXEC | |
4168 | 467 |
11154
0895f142cac3
patch 8.0.0464: can't find executable name on Solaris and FreeBSD
Christian Brabandt <cb@256bit.org>
parents:
11125
diff
changeset
|
468 /* Define if /proc/self/exe or similar can be read */ |
0895f142cac3
patch 8.0.0464: can't find executable name on Solaris and FreeBSD
Christian Brabandt <cb@256bit.org>
parents:
11125
diff
changeset
|
469 #undef PROC_EXE_LINK |
11125
6f52cc87fe15
patch 8.0.0450: v:progpath is not reliably set
Christian Brabandt <cb@256bit.org>
parents:
11115
diff
changeset
|
470 |
4168 | 471 /* Define if you want Cygwin to use the WIN32 clipboard, not compatible with X11*/ |
472 #undef FEAT_CYGWIN_WIN32_CLIPBOARD | |
5409 | 473 |
474 /* Define if we have AvailabilityMacros.h on Mac OS X */ | |
475 #undef HAVE_AVAILABILITYMACROS_H | |
6282 | 476 |
477 /* Define if Xutf8SetWMProperties() is in an X library. */ | |
478 #undef HAVE_XUTF8SETWMPROPERTIES | |
7380
055a0b587a3e
commit https://github.com/vim/vim/commit/36e294c00c784b9ddd05a4fdbea2e331ab2b1ca8
Christian Brabandt <cb@256bit.org>
parents:
7098
diff
changeset
|
479 |
055a0b587a3e
commit https://github.com/vim/vim/commit/36e294c00c784b9ddd05a4fdbea2e331ab2b1ca8
Christian Brabandt <cb@256bit.org>
parents:
7098
diff
changeset
|
480 /* Define if GResource is used to load icons */ |
055a0b587a3e
commit https://github.com/vim/vim/commit/36e294c00c784b9ddd05a4fdbea2e331ab2b1ca8
Christian Brabandt <cb@256bit.org>
parents:
7098
diff
changeset
|
481 #undef USE_GRESOURCE |
8218
3456e2ebebd4
commit https://github.com/vim/vim/commit/9892189d2e7ab94b750f99e6da4cbfc3c8014517
Christian Brabandt <cb@256bit.org>
parents:
7842
diff
changeset
|
482 |
3456e2ebebd4
commit https://github.com/vim/vim/commit/9892189d2e7ab94b750f99e6da4cbfc3c8014517
Christian Brabandt <cb@256bit.org>
parents:
7842
diff
changeset
|
483 /* Define if GTK+ GUI is to be linked against GTK+ 3 */ |
3456e2ebebd4
commit https://github.com/vim/vim/commit/9892189d2e7ab94b750f99e6da4cbfc3c8014517
Christian Brabandt <cb@256bit.org>
parents:
7842
diff
changeset
|
484 #undef USE_GTK3 |
8289
6ae3fb4fe7c1
commit https://github.com/vim/vim/commit/136f29a91dbafce424e31a4af133155f997e8f78
Christian Brabandt <cb@256bit.org>
parents:
8281
diff
changeset
|
485 |
6ae3fb4fe7c1
commit https://github.com/vim/vim/commit/136f29a91dbafce424e31a4af133155f997e8f78
Christian Brabandt <cb@256bit.org>
parents:
8281
diff
changeset
|
486 /* Define if we have isinf() */ |
6ae3fb4fe7c1
commit https://github.com/vim/vim/commit/136f29a91dbafce424e31a4af133155f997e8f78
Christian Brabandt <cb@256bit.org>
parents:
8281
diff
changeset
|
487 #undef HAVE_ISINF |
6ae3fb4fe7c1
commit https://github.com/vim/vim/commit/136f29a91dbafce424e31a4af133155f997e8f78
Christian Brabandt <cb@256bit.org>
parents:
8281
diff
changeset
|
488 |
6ae3fb4fe7c1
commit https://github.com/vim/vim/commit/136f29a91dbafce424e31a4af133155f997e8f78
Christian Brabandt <cb@256bit.org>
parents:
8281
diff
changeset
|
489 /* Define if we have isnan() */ |
6ae3fb4fe7c1
commit https://github.com/vim/vim/commit/136f29a91dbafce424e31a4af133155f997e8f78
Christian Brabandt <cb@256bit.org>
parents:
8281
diff
changeset
|
490 #undef HAVE_ISNAN |
6ae3fb4fe7c1
commit https://github.com/vim/vim/commit/136f29a91dbafce424e31a4af133155f997e8f78
Christian Brabandt <cb@256bit.org>
parents:
8281
diff
changeset
|
491 |
20311
05b4efb062a7
patch 8.2.0711: temp directory might be cleared
Bram Moolenaar <Bram@vim.org>
parents:
20249
diff
changeset
|
492 /* Define if we have dirfd() */ |
05b4efb062a7
patch 8.2.0711: temp directory might be cleared
Bram Moolenaar <Bram@vim.org>
parents:
20249
diff
changeset
|
493 #undef HAVE_DIRFD |
05b4efb062a7
patch 8.2.0711: temp directory might be cleared
Bram Moolenaar <Bram@vim.org>
parents:
20249
diff
changeset
|
494 |
05b4efb062a7
patch 8.2.0711: temp directory might be cleared
Bram Moolenaar <Bram@vim.org>
parents:
20249
diff
changeset
|
495 /* Define if we have flock() */ |
05b4efb062a7
patch 8.2.0711: temp directory might be cleared
Bram Moolenaar <Bram@vim.org>
parents:
20249
diff
changeset
|
496 #undef HAVE_FLOCK |
05b4efb062a7
patch 8.2.0711: temp directory might be cleared
Bram Moolenaar <Bram@vim.org>
parents:
20249
diff
changeset
|
497 |
8289
6ae3fb4fe7c1
commit https://github.com/vim/vim/commit/136f29a91dbafce424e31a4af133155f997e8f78
Christian Brabandt <cb@256bit.org>
parents:
8281
diff
changeset
|
498 /* Define to inline symbol or empty */ |
6ae3fb4fe7c1
commit https://github.com/vim/vim/commit/136f29a91dbafce424e31a4af133155f997e8f78
Christian Brabandt <cb@256bit.org>
parents:
8281
diff
changeset
|
499 #undef inline |
24016
a77ea73f4db5
patch 8.2.2550: signal stack size is wrong with latest glibc 2.34
Bram Moolenaar <Bram@vim.org>
parents:
20873
diff
changeset
|
500 |
a77ea73f4db5
patch 8.2.2550: signal stack size is wrong with latest glibc 2.34
Bram Moolenaar <Bram@vim.org>
parents:
20873
diff
changeset
|
501 /* Define if _SC_SIGSTKSZ is available via sysconf() */ |
a77ea73f4db5
patch 8.2.2550: signal stack size is wrong with latest glibc 2.34
Bram Moolenaar <Bram@vim.org>
parents:
20873
diff
changeset
|
502 #undef HAVE_SYSCONF_SIGSTKSZ |
27863
f1799ba16729
patch 8.2.4457: the GPM library can only be linked statically
Bram Moolenaar <Bram@vim.org>
parents:
26177
diff
changeset
|
503 |
f1799ba16729
patch 8.2.4457: the GPM library can only be linked statically
Bram Moolenaar <Bram@vim.org>
parents:
26177
diff
changeset
|
504 /* Define if you want to load libgpm dynamically */ |
f1799ba16729
patch 8.2.4457: the GPM library can only be linked statically
Bram Moolenaar <Bram@vim.org>
parents:
26177
diff
changeset
|
505 #undef DYNAMIC_GPM |