Win32 dirent: change FILENAME_MAX to MAX_PATH
[git/mingw/4msysgit.git] / config.mak.uname
blob36b755e08503c3707ba0ab538cd9d8d6482f14bf
1 # Platform specific Makefile tweaks based on uname detection
3 uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
4 uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
5 uname_O := $(shell sh -c 'uname -o 2>/dev/null || echo not')
6 uname_R := $(shell sh -c 'uname -r 2>/dev/null || echo not')
7 uname_P := $(shell sh -c 'uname -p 2>/dev/null || echo not')
8 uname_V := $(shell sh -c 'uname -v 2>/dev/null || echo not')
10 ifdef MSVC
11         # avoid the MingW and Cygwin configuration sections
12         uname_S := Windows
13         uname_O := Windows
14 endif
16 # We choose to avoid "if .. else if .. else .. endif endif"
17 # because maintaining the nesting to match is a pain.  If
18 # we had "elif" things would have been much nicer...
20 ifeq ($(uname_M),x86_64)
21         XDL_FAST_HASH = YesPlease
22 endif
23 ifeq ($(uname_S),OSF1)
24         # Need this for u_short definitions et al
25         BASIC_CFLAGS += -D_OSF_SOURCE
26         SOCKLEN_T = int
27         NO_STRTOULL = YesPlease
28         NO_NSEC = YesPlease
29 endif
30 ifeq ($(uname_S),Linux)
31         NO_STRLCPY = YesPlease
32         NO_MKSTEMPS = YesPlease
33         HAVE_PATHS_H = YesPlease
34         LIBC_CONTAINS_LIBINTL = YesPlease
35         HAVE_DEV_TTY = YesPlease
36 endif
37 ifeq ($(uname_S),GNU/kFreeBSD)
38         NO_STRLCPY = YesPlease
39         NO_MKSTEMPS = YesPlease
40         HAVE_PATHS_H = YesPlease
41         DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
42         LIBC_CONTAINS_LIBINTL = YesPlease
43 endif
44 ifeq ($(uname_S),UnixWare)
45         CC = cc
46         NEEDS_SOCKET = YesPlease
47         NEEDS_NSL = YesPlease
48         NEEDS_SSL_WITH_CRYPTO = YesPlease
49         NEEDS_LIBICONV = YesPlease
50         SHELL_PATH = /usr/local/bin/bash
51         NO_IPV6 = YesPlease
52         NO_HSTRERROR = YesPlease
53         NO_MKSTEMPS = YesPlease
54         BASIC_CFLAGS += -Kthread
55         BASIC_CFLAGS += -I/usr/local/include
56         BASIC_LDFLAGS += -L/usr/local/lib
57         INSTALL = ginstall
58         TAR = gtar
59         NO_STRCASESTR = YesPlease
60         NO_MEMMEM = YesPlease
61 endif
62 ifeq ($(uname_S),SCO_SV)
63         ifeq ($(uname_R),3.2)
64                 CFLAGS = -O2
65         endif
66         ifeq ($(uname_R),5)
67                 CC = cc
68                 BASIC_CFLAGS += -Kthread
69         endif
70         NEEDS_SOCKET = YesPlease
71         NEEDS_NSL = YesPlease
72         NEEDS_SSL_WITH_CRYPTO = YesPlease
73         NEEDS_LIBICONV = YesPlease
74         SHELL_PATH = /usr/bin/bash
75         NO_IPV6 = YesPlease
76         NO_HSTRERROR = YesPlease
77         NO_MKSTEMPS = YesPlease
78         BASIC_CFLAGS += -I/usr/local/include
79         BASIC_LDFLAGS += -L/usr/local/lib
80         NO_STRCASESTR = YesPlease
81         NO_MEMMEM = YesPlease
82         INSTALL = ginstall
83         TAR = gtar
84 endif
85 ifeq ($(uname_S),Darwin)
86         NEEDS_CRYPTO_WITH_SSL = YesPlease
87         NEEDS_SSL_WITH_CRYPTO = YesPlease
88         NEEDS_LIBICONV = YesPlease
89         ifeq ($(shell expr "$(uname_R)" : '[15678]\.'),2)
90                 OLD_ICONV = UnfortunatelyYes
91         endif
92         ifeq ($(shell expr "$(uname_R)" : '[15]\.'),2)
93                 NO_STRLCPY = YesPlease
94         endif
95         NO_MEMMEM = YesPlease
96         USE_ST_TIMESPEC = YesPlease
97         HAVE_DEV_TTY = YesPlease
98         COMPAT_OBJS += compat/precompose_utf8.o
99         BASIC_CFLAGS += -DPRECOMPOSE_UNICODE
100 endif
101 ifeq ($(uname_S),SunOS)
102         NEEDS_SOCKET = YesPlease
103         NEEDS_NSL = YesPlease
104         SHELL_PATH = /bin/bash
105         SANE_TOOL_PATH = /usr/xpg6/bin:/usr/xpg4/bin
106         NO_STRCASESTR = YesPlease
107         NO_MEMMEM = YesPlease
108         NO_MKDTEMP = YesPlease
109         NO_MKSTEMPS = YesPlease
110         NO_REGEX = YesPlease
111         NO_FNMATCH_CASEFOLD = YesPlease
112         NO_MSGFMT_EXTENDED_OPTIONS = YesPlease
113         HAVE_DEV_TTY = YesPlease
114         ifeq ($(uname_R),5.6)
115                 SOCKLEN_T = int
116                 NO_HSTRERROR = YesPlease
117                 NO_IPV6 = YesPlease
118                 NO_SOCKADDR_STORAGE = YesPlease
119                 NO_UNSETENV = YesPlease
120                 NO_SETENV = YesPlease
121                 NO_STRLCPY = YesPlease
122                 NO_STRTOUMAX = YesPlease
123                 GIT_TEST_CMP = cmp
124         endif
125         ifeq ($(uname_R),5.7)
126                 NEEDS_RESOLV = YesPlease
127                 NO_IPV6 = YesPlease
128                 NO_SOCKADDR_STORAGE = YesPlease
129                 NO_UNSETENV = YesPlease
130                 NO_SETENV = YesPlease
131                 NO_STRLCPY = YesPlease
132                 NO_STRTOUMAX = YesPlease
133                 GIT_TEST_CMP = cmp
134         endif
135         ifeq ($(uname_R),5.8)
136                 NO_UNSETENV = YesPlease
137                 NO_SETENV = YesPlease
138                 NO_STRTOUMAX = YesPlease
139                 GIT_TEST_CMP = cmp
140         endif
141         ifeq ($(uname_R),5.9)
142                 NO_UNSETENV = YesPlease
143                 NO_SETENV = YesPlease
144                 NO_STRTOUMAX = YesPlease
145                 GIT_TEST_CMP = cmp
146         endif
147         INSTALL = /usr/ucb/install
148         TAR = gtar
149         BASIC_CFLAGS += -D__EXTENSIONS__ -D__sun__ -DHAVE_ALLOCA_H
150 endif
151 ifeq ($(uname_O),Cygwin)
152         ifeq ($(shell expr "$(uname_R)" : '1\.[1-6]\.'),4)
153                 NO_D_TYPE_IN_DIRENT = YesPlease
154                 NO_D_INO_IN_DIRENT = YesPlease
155                 NO_STRCASESTR = YesPlease
156                 NO_MEMMEM = YesPlease
157                 NO_MKSTEMPS = YesPlease
158                 NO_SYMLINK_HEAD = YesPlease
159                 NO_IPV6 = YesPlease
160                 OLD_ICONV = UnfortunatelyYes
161                 NO_THREAD_SAFE_PREAD = YesPlease
162                 # There are conflicting reports about this.
163                 # On some boxes NO_MMAP is needed, and not so elsewhere.
164                 # Try commenting this out if you suspect MMAP is more efficient
165                 NO_MMAP = YesPlease
166         else
167                 NO_REGEX = UnfortunatelyYes
168         endif
169         NEEDS_LIBICONV = YesPlease
170         NO_FAST_WORKING_DIRECTORY = UnfortunatelyYes
171         NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease
172         X = .exe
173         UNRELIABLE_FSTAT = UnfortunatelyYes
174         SPARSE_FLAGS = -isystem /usr/include/w32api -Wno-one-bit-signed-bitfield
175 endif
176 ifeq ($(uname_S),FreeBSD)
177         NEEDS_LIBICONV = YesPlease
178         OLD_ICONV = YesPlease
179         NO_MEMMEM = YesPlease
180         BASIC_CFLAGS += -I/usr/local/include
181         BASIC_LDFLAGS += -L/usr/local/lib
182         DIR_HAS_BSD_GROUP_SEMANTICS = YesPlease
183         USE_ST_TIMESPEC = YesPlease
184         ifeq ($(shell expr "$(uname_R)" : '4\.'),2)
185                 PTHREAD_LIBS = -pthread
186                 NO_UINTMAX_T = YesPlease
187                 NO_STRTOUMAX = YesPlease
188         endif
189         PYTHON_PATH = /usr/local/bin/python
190         HAVE_PATHS_H = YesPlease
191         GMTIME_UNRELIABLE_ERRORS = UnfortunatelyYes
192 endif
193 ifeq ($(uname_S),OpenBSD)
194         NO_STRCASESTR = YesPlease
195         NO_MEMMEM = YesPlease
196         USE_ST_TIMESPEC = YesPlease
197         NEEDS_LIBICONV = YesPlease
198         BASIC_CFLAGS += -I/usr/local/include
199         BASIC_LDFLAGS += -L/usr/local/lib
200         HAVE_PATHS_H = YesPlease
201 endif
202 ifeq ($(uname_S),MirBSD)
203         NO_STRCASESTR = YesPlease
204         NO_MEMMEM = YesPlease
205         USE_ST_TIMESPEC = YesPlease
206         NEEDS_LIBICONV = YesPlease
207         HAVE_PATHS_H = YesPlease
208 endif
209 ifeq ($(uname_S),NetBSD)
210         ifeq ($(shell expr "$(uname_R)" : '[01]\.'),2)
211                 NEEDS_LIBICONV = YesPlease
212         endif
213         BASIC_CFLAGS += -I/usr/pkg/include
214         BASIC_LDFLAGS += -L/usr/pkg/lib $(CC_LD_DYNPATH)/usr/pkg/lib
215         USE_ST_TIMESPEC = YesPlease
216         NO_MKSTEMPS = YesPlease
217         HAVE_PATHS_H = YesPlease
218 endif
219 ifeq ($(uname_S),AIX)
220         DEFAULT_PAGER = more
221         NO_STRCASESTR = YesPlease
222         NO_MEMMEM = YesPlease
223         NO_MKDTEMP = YesPlease
224         NO_MKSTEMPS = YesPlease
225         NO_STRLCPY = YesPlease
226         NO_NSEC = YesPlease
227         FREAD_READS_DIRECTORIES = UnfortunatelyYes
228         INTERNAL_QSORT = UnfortunatelyYes
229         NEEDS_LIBICONV = YesPlease
230         BASIC_CFLAGS += -D_LARGE_FILES
231         ifeq ($(shell expr "$(uname_V)" : '[1234]'),1)
232                 NO_PTHREADS = YesPlease
233         else
234                 PTHREAD_LIBS = -lpthread
235         endif
236         ifeq ($(shell expr "$(uname_V).$(uname_R)" : '5\.1'),3)
237                 INLINE = ''
238         endif
239         GIT_TEST_CMP = cmp
240 endif
241 ifeq ($(uname_S),GNU)
242         # GNU/Hurd
243         NO_STRLCPY = YesPlease
244         NO_MKSTEMPS = YesPlease
245         HAVE_PATHS_H = YesPlease
246         LIBC_CONTAINS_LIBINTL = YesPlease
247 endif
248 ifeq ($(uname_S),IRIX)
249         NO_SETENV = YesPlease
250         NO_UNSETENV = YesPlease
251         NO_STRCASESTR = YesPlease
252         NO_MEMMEM = YesPlease
253         NO_MKSTEMPS = YesPlease
254         NO_MKDTEMP = YesPlease
255         # When compiled with the MIPSpro 7.4.4m compiler, and without pthreads
256         # (i.e. NO_PTHREADS is set), and _with_ MMAP (i.e. NO_MMAP is not set),
257         # git dies with a segmentation fault when trying to access the first
258         # entry of a reflog.  The conservative choice is made to always set
259         # NO_MMAP.  If you suspect that your compiler is not affected by this
260         # issue, comment out the NO_MMAP statement.
261         NO_MMAP = YesPlease
262         NO_REGEX = YesPlease
263         NO_FNMATCH_CASEFOLD = YesPlease
264         SNPRINTF_RETURNS_BOGUS = YesPlease
265         SHELL_PATH = /usr/gnu/bin/bash
266         NEEDS_LIBGEN = YesPlease
267 endif
268 ifeq ($(uname_S),IRIX64)
269         NO_SETENV = YesPlease
270         NO_UNSETENV = YesPlease
271         NO_STRCASESTR = YesPlease
272         NO_MEMMEM = YesPlease
273         NO_MKSTEMPS = YesPlease
274         NO_MKDTEMP = YesPlease
275         # When compiled with the MIPSpro 7.4.4m compiler, and without pthreads
276         # (i.e. NO_PTHREADS is set), and _with_ MMAP (i.e. NO_MMAP is not set),
277         # git dies with a segmentation fault when trying to access the first
278         # entry of a reflog.  The conservative choice is made to always set
279         # NO_MMAP.  If you suspect that your compiler is not affected by this
280         # issue, comment out the NO_MMAP statement.
281         NO_MMAP = YesPlease
282         NO_REGEX = YesPlease
283         NO_FNMATCH_CASEFOLD = YesPlease
284         SNPRINTF_RETURNS_BOGUS = YesPlease
285         SHELL_PATH = /usr/gnu/bin/bash
286         NEEDS_LIBGEN = YesPlease
287 endif
288 ifeq ($(uname_S),HP-UX)
289         INLINE = __inline
290         NO_IPV6 = YesPlease
291         NO_SETENV = YesPlease
292         NO_STRCASESTR = YesPlease
293         NO_MEMMEM = YesPlease
294         NO_MKSTEMPS = YesPlease
295         NO_STRLCPY = YesPlease
296         NO_MKDTEMP = YesPlease
297         NO_UNSETENV = YesPlease
298         NO_HSTRERROR = YesPlease
299         NO_SYS_SELECT_H = YesPlease
300         NO_FNMATCH_CASEFOLD = YesPlease
301         SNPRINTF_RETURNS_BOGUS = YesPlease
302         NO_NSEC = YesPlease
303         ifeq ($(uname_R),B.11.00)
304                 NO_INET_NTOP = YesPlease
305                 NO_INET_PTON = YesPlease
306         endif
307         ifeq ($(uname_R),B.10.20)
308                 # Override HP-UX 11.x setting:
309                 INLINE =
310                 SOCKLEN_T = size_t
311                 NO_PREAD = YesPlease
312                 NO_INET_NTOP = YesPlease
313                 NO_INET_PTON = YesPlease
314         endif
315         GIT_TEST_CMP = cmp
316 endif
317 ifeq ($(uname_S),Windows)
318         GIT_VERSION := $(GIT_VERSION).MSVC
319         pathsep = ;
320         NO_PREAD = YesPlease
321         NEEDS_CRYPTO_WITH_SSL = YesPlease
322         NO_LIBGEN_H = YesPlease
323         NO_POLL = YesPlease
324         NO_SYMLINK_HEAD = YesPlease
325         NO_IPV6 = YesPlease
326         NO_UNIX_SOCKETS = YesPlease
327         NO_SETENV = YesPlease
328         NO_UNSETENV = YesPlease
329         NO_STRCASESTR = YesPlease
330         NO_STRLCPY = YesPlease
331         NO_FNMATCH = YesPlease
332         NO_MEMMEM = YesPlease
333         # NEEDS_LIBICONV = YesPlease
334         NO_ICONV = YesPlease
335         NO_STRTOUMAX = YesPlease
336         NO_MKDTEMP = YesPlease
337         NO_MKSTEMPS = YesPlease
338         SNPRINTF_RETURNS_BOGUS = YesPlease
339         NO_SVN_TESTS = YesPlease
340         NO_PERL_MAKEMAKER = YesPlease
341         RUNTIME_PREFIX = YesPlease
342         NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease
343         NO_NSEC = YesPlease
344         USE_WIN32_MMAP = YesPlease
345         # USE_NED_ALLOCATOR = YesPlease
346         UNRELIABLE_FSTAT = UnfortunatelyYes
347         OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo
348         NO_REGEX = YesPlease
349         NO_CURL = YesPlease
350         NO_GETTEXT = YesPlease
351         NO_PYTHON = YesPlease
352         BLK_SHA1 = YesPlease
353         ETAGS_TARGET = ETAGS
354         NO_INET_PTON = YesPlease
355         NO_INET_NTOP = YesPlease
356         NO_POSIX_GOODIES = UnfortunatelyYes
357         NATIVE_CRLF = YesPlease
358         DEFAULT_HELP_FORMAT = html
359         NO_D_INO_IN_DIRENT = YesPlease
361         CC = compat/vcbuild/scripts/clink.pl
362         AR = compat/vcbuild/scripts/lib.pl
363         CFLAGS =
364         BASIC_CFLAGS = -nologo -I. -I../zlib -Icompat/vcbuild -Icompat/vcbuild/include -DWIN32 -D_CONSOLE -DHAVE_STRING_H -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE
365         COMPAT_OBJS = compat/msvc.o compat/winansi.o \
366                 compat/win32/pthread.o compat/win32/syslog.o \
367                 compat/win32/dirent.o
368         COMPAT_CFLAGS = -D__USE_MINGW_ACCESS -DNOGDI -DHAVE_STRING_H -DHAVE_ALLOCA_H -Icompat -Icompat/regex -Icompat/win32 -DSTRIP_EXTENSION=\".exe\"
369         BASIC_LDFLAGS = -IGNORE:4217 -IGNORE:4049 -NOLOGO -SUBSYSTEM:CONSOLE -NODEFAULTLIB:MSVCRT.lib
370         EXTLIBS = user32.lib advapi32.lib shell32.lib wininet.lib ws2_32.lib
371         PTHREAD_LIBS =
372         lib =
373 ifndef DEBUG
374         BASIC_CFLAGS += -GL -Os -MT
375         BASIC_LDFLAGS += -LTCG
376         AR += -LTCG
377 else
378         BASIC_CFLAGS += -Zi -MTd
379 endif
380         X = .exe
381 endif
382 ifeq ($(uname_S),Interix)
383         NO_INITGROUPS = YesPlease
384         NO_IPV6 = YesPlease
385         NO_MEMMEM = YesPlease
386         NO_MKDTEMP = YesPlease
387         NO_STRTOUMAX = YesPlease
388         NO_NSEC = YesPlease
389         NO_MKSTEMPS = YesPlease
390         ifeq ($(uname_R),3.5)
391                 NO_INET_NTOP = YesPlease
392                 NO_INET_PTON = YesPlease
393                 NO_SOCKADDR_STORAGE = YesPlease
394                 NO_FNMATCH_CASEFOLD = YesPlease
395         endif
396         ifeq ($(uname_R),5.2)
397                 NO_INET_NTOP = YesPlease
398                 NO_INET_PTON = YesPlease
399                 NO_SOCKADDR_STORAGE = YesPlease
400                 NO_FNMATCH_CASEFOLD = YesPlease
401         endif
402 endif
403 ifeq ($(uname_S),Minix)
404         NO_IPV6 = YesPlease
405         NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease
406         NO_NSEC = YesPlease
407         NEEDS_LIBGEN =
408         NEEDS_CRYPTO_WITH_SSL = YesPlease
409         NEEDS_IDN_WITH_CURL = YesPlease
410         NEEDS_SSL_WITH_CURL = YesPlease
411         NEEDS_RESOLV =
412         NO_HSTRERROR = YesPlease
413         NO_MMAP = YesPlease
414         NO_CURL =
415         NO_EXPAT =
416 endif
417 ifeq ($(uname_S),NONSTOP_KERNEL)
418         # Needs some C99 features, "inline" is just one of them.
419         # INLINE='' would just replace one set of warnings with another and
420         # still not compile in c89 mode, due to non-const array initializations.
421         CC = cc -c99
422         # Disable all optimization, seems to result in bad code, with -O or -O2
423         # or even -O1 (default), /usr/local/libexec/git-core/git-pack-objects
424         # abends on "git push". Needs more investigation.
425         CFLAGS = -g -O0
426         # We'd want it to be here.
427         prefix = /usr/local
428         # Our's are in ${prefix}/bin (perl might also be in /usr/bin/perl).
429         PERL_PATH = ${prefix}/bin/perl
430         PYTHON_PATH = ${prefix}/bin/python
432         # As detected by './configure'.
433         # Missdetected, hence commented out, see below.
434         #NO_CURL = YesPlease
435         # Added manually, see above.
436         NEEDS_SSL_WITH_CURL = YesPlease
437         HAVE_LIBCHARSET_H = YesPlease
438         HAVE_STRINGS_H = YesPlease
439         NEEDS_LIBICONV = YesPlease
440         NEEDS_LIBINTL_BEFORE_LIBICONV = YesPlease
441         NO_SYS_SELECT_H = UnfortunatelyYes
442         NO_D_TYPE_IN_DIRENT = YesPlease
443         NO_HSTRERROR = YesPlease
444         NO_STRCASESTR = YesPlease
445         NO_FNMATCH_CASEFOLD = YesPlease
446         NO_MEMMEM = YesPlease
447         NO_STRLCPY = YesPlease
448         NO_SETENV = YesPlease
449         NO_UNSETENV = YesPlease
450         NO_MKDTEMP = YesPlease
451         NO_MKSTEMPS = YesPlease
452         # Currently libiconv-1.9.1.
453         OLD_ICONV = UnfortunatelyYes
454         NO_REGEX = YesPlease
455         NO_PTHREADS = UnfortunatelyYes
457         # Not detected (nor checked for) by './configure'.
458         # We don't have SA_RESTART on NonStop, unfortunalety.
459         COMPAT_CFLAGS += -DSA_RESTART=0
460         # Apparently needed in compat/fnmatch/fnmatch.c.
461         COMPAT_CFLAGS += -DHAVE_STRING_H=1
462         NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease
463         NO_NSEC = YesPlease
464         NO_PREAD = YesPlease
465         NO_MMAP = YesPlease
466         NO_POLL = YesPlease
467         NO_INTPTR_T = UnfortunatelyYes
468         # Bug report 10-120822-4477 submitted to HP NonStop development.
469         MKDIR_WO_TRAILING_SLASH = YesPlease
470         # RFE 10-120912-4693 submitted to HP NonStop development.
471         NO_SETITIMER = UnfortunatelyYes
472         SANE_TOOL_PATH = /usr/coreutils/bin:/usr/local/bin
473         SHELL_PATH = /usr/local/bin/bash
474         # as of H06.25/J06.14, we might better use this
475         #SHELL_PATH = /usr/coreutils/bin/bash
476 endif
477 ifneq (,$(findstring MINGW,$(uname_S)))
478         pathsep = ;
479         NO_PREAD = YesPlease
480         NEEDS_CRYPTO_WITH_SSL = YesPlease
481         NO_LIBGEN_H = YesPlease
482         NO_POLL = YesPlease
483         NO_SYMLINK_HEAD = YesPlease
484         NO_UNIX_SOCKETS = YesPlease
485         NO_SETENV = YesPlease
486         NO_UNSETENV = YesPlease
487         NO_STRCASESTR = YesPlease
488         NO_STRLCPY = YesPlease
489         NO_FNMATCH = YesPlease
490         NO_MEMMEM = YesPlease
491         NEEDS_LIBICONV = YesPlease
492         NO_STRTOUMAX = YesPlease
493         NO_MKDTEMP = YesPlease
494         NO_MKSTEMPS = YesPlease
495         NO_SVN_TESTS = YesPlease
496         NO_PERL_MAKEMAKER = YesPlease
497         RUNTIME_PREFIX = YesPlease
498         NO_ST_BLOCKS_IN_STRUCT_STAT = YesPlease
499         NO_NSEC = YesPlease
500         USE_WIN32_MMAP = YesPlease
501         USE_NED_ALLOCATOR = YesPlease
502         UNRELIABLE_FSTAT = UnfortunatelyYes
503         OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo
504         NO_REGEX = YesPlease
505         NO_PYTHON = YesPlease
506         BLK_SHA1 = YesPlease
507         ETAGS_TARGET = ETAGS
508         NO_INET_PTON = YesPlease
509         NO_INET_NTOP = YesPlease
510         NO_POSIX_GOODIES = UnfortunatelyYes
511         DEFAULT_HELP_FORMAT = html
512         NO_D_INO_IN_DIRENT = YesPlease
513         COMPAT_CFLAGS += -D__USE_MINGW_ACCESS -D_USE_32BIT_TIME_T -DNOGDI -Icompat -Icompat/win32
514         COMPAT_CFLAGS += -DSTRIP_EXTENSION=\".exe\"
515         COMPAT_OBJS += compat/mingw.o compat/winansi.o \
516                 compat/win32/pthread.o compat/win32/syslog.o \
517                 compat/win32/dirent.o
518         BASIC_LDFLAGS += -Wl,--large-address-aware
519         EXTLIBS += -lws2_32
520         GITLIBS += git.res
521         PTHREAD_LIBS =
522         RC = windres -O coff
523         NATIVE_CRLF = YesPlease
524         X = .exe
525         SPARSE_FLAGS = -Wno-one-bit-signed-bitfield
526 ifneq (,$(wildcard ../THIS_IS_MSYSGIT))
527         htmldir = doc/git/html/
528         prefix =
529         INSTALL = /bin/install
530         EXTLIBS += /mingw/lib/libz.a
531         NO_R_TO_GCC_LINKER = YesPlease
532         INTERNAL_QSORT = YesPlease
533         HAVE_LIBCHARSET_H = YesPlease
534         NO_GETTEXT = YesPlease
535 else
536         NO_CURL = YesPlease
537 endif
538 endif
539 ifeq ($(uname_S),QNX)
540         COMPAT_CFLAGS += -DSA_RESTART=0
541         EXPAT_NEEDS_XMLPARSE_H = YesPlease
542         HAVE_STRINGS_H = YesPlease
543         NEEDS_SOCKET = YesPlease
544         NO_FNMATCH_CASEFOLD = YesPlease
545         NO_GETPAGESIZE = YesPlease
546         NO_ICONV = YesPlease
547         NO_MEMMEM = YesPlease
548         NO_MKDTEMP = YesPlease
549         NO_MKSTEMPS = YesPlease
550         NO_NSEC = YesPlease
551         NO_PTHREADS = YesPlease
552         NO_R_TO_GCC_LINKER = YesPlease
553         NO_STRCASESTR = YesPlease
554         NO_STRLCPY = YesPlease
555 endif