Fixes for building with __MINGW32_VERSION 2.1
[reactos.git] / rosapps / mc / config.h.in
1 /* config.h.in. Generated automatically from configure.in by autoheader. */
2 /* This is the configuration file for the Midnight Commander. It was generated
3 by autoconf's configure.
4
5 Configure for Midnight Commander
6 Copyright (C) 1994, 1995 Janne Kukonlehto
7 Copyright (C) 1994, 1995 Miguel de Icaza
8 Copyright (C) 1995 Jakub Jelinek
9
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2 of the License, or
13 (at your option) any later version.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
23
24 #include <VERSION>
25
26
27
28 /* Define if on AIX 3.
29 System headers sometimes define this.
30 We just want to avoid a redefinition error message. */
31 #ifndef _ALL_SOURCE
32 #undef _ALL_SOURCE
33 #endif
34
35 /* Define if using alloca.c. */
36 #undef C_ALLOCA
37
38 /* Define to empty if the keyword does not work. */
39 #undef const
40
41 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
42 This function is required for alloca.c support on those systems. */
43 #undef CRAY_STACKSEG_END
44
45 /* Define to `int' if <sys/types.h> doesn't define. */
46 #undef gid_t
47
48 /* Define if you have alloca, as a function or macro. */
49 #undef HAVE_ALLOCA
50
51 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
52 #undef HAVE_ALLOCA_H
53
54 /* Define if you have the getmntent function. */
55 #undef HAVE_GETMNTENT
56
57 /* Define if you have a working `mmap' system call. */
58 #undef HAVE_MMAP
59
60 /* Define if your struct stat has st_blksize. */
61 #undef HAVE_ST_BLKSIZE
62
63 /* Define if your struct stat has st_blocks. */
64 #undef HAVE_ST_BLOCKS
65
66 /* Define if your struct stat has st_rdev. */
67 #undef HAVE_ST_RDEV
68
69 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
70 #undef HAVE_SYS_WAIT_H
71
72 /* Define as __inline if that's what the C compiler calls it. */
73 #undef inline
74
75 /* Define if major, minor, and makedev are declared in <mkdev.h>. */
76 #undef MAJOR_IN_MKDEV
77
78 /* Define if major, minor, and makedev are declared in <sysmacros.h>. */
79 #undef MAJOR_IN_SYSMACROS
80
81 /* Define if on MINIX. */
82 #undef _MINIX
83
84 /* Define to `int' if <sys/types.h> doesn't define. */
85 #undef mode_t
86
87 /* Define to `long' if <sys/types.h> doesn't define. */
88 #undef off_t
89
90 /* Define to `int' if <sys/types.h> doesn't define. */
91 #undef pid_t
92
93 /* Define if the system does not provide POSIX.1 features except
94 with this defined. */
95 #undef _POSIX_1_SOURCE
96
97 /* Define if you need to in order for stat and other things to work. */
98 #undef _POSIX_SOURCE
99
100 /* Define to `unsigned' if <sys/types.h> doesn't define. */
101 #undef size_t
102
103 /* If using the C implementation of alloca, define if you know the
104 direction of stack growth for your system; otherwise it will be
105 automatically deduced at run-time.
106 STACK_DIRECTION > 0 => grows toward higher addresses
107 STACK_DIRECTION < 0 => grows toward lower addresses
108 STACK_DIRECTION = 0 => direction of growth unknown
109 */
110 #undef STACK_DIRECTION
111
112 /* Define if you have the ANSI C header files. */
113 #undef STDC_HEADERS
114
115 /* Define to `int' if <sys/types.h> doesn't define. */
116 #undef uid_t
117
118 /* Define if the X Window System is missing or not being used. */
119 #undef X_DISPLAY_MISSING
120
121 #undef PACKAGE
122
123 /* Always defined */
124 #undef D_INO_IN_DIRENT
125 #undef IS_AIX
126 #undef MOUNTED_FREAD
127 #undef MOUNTED_FREAD_FSTYP
128 #undef MOUNTED_GETFSSTAT
129 #undef MOUNTED_GETMNT
130 #undef MOUNTED_GETMNTENT1
131 #undef MOUNTED_GETMNTENT2
132 #undef MOUNTED_GETMNTINFO
133 #undef MOUNTED_VMOUNT
134 #undef STAT_STATFS2_BSIZE
135 #undef STAT_STATFS2_FSIZE
136 #undef STAT_STATFS2_FS_DATA
137 #undef STAT_STATFS3_OSF1
138 #undef STAT_STATFS4
139 #undef STAT_STATVFS
140
141 /* Define umode_t if your system does not provide it */
142 #undef umode_t
143
144 /* Define nlink_t if your system does not provide it */
145 #undef nlink_t
146
147 /* Does the file command accepts the -L option */
148 #undef FILE_L
149
150 /* Does the file command work well with - option for stdin? */
151 #undef FILE_STDIN
152
153 /* Does the grep command work well with - option for stdin? */
154 #undef GREP_STDIN
155
156 /* Is the program using the GPM library? */
157 #undef HAVE_LIBGPM
158
159 /* Is the program using the distributed slang library? */
160 #undef HAVE_SLANG
161
162 /* Is the program using a system-installed slang library? */
163 #undef HAVE_SYSTEM_SLANG
164
165 /* Define if the slang.h header file is inside a directory slang
166 ** in the standard directories
167 */
168 #undef SLANG_H_INSIDE_SLANG_DIR
169
170 /* Does the program have subshell support? */
171 #undef HAVE_SUBSHELL_SUPPORT
172
173 /* If you don't have gcc, define this */
174 #undef OLD_TOOLS
175
176 /* Is the subshell the default or optional? */
177 #undef SUBSHELL_OPTIONAL
178
179 /* Use SunOS SysV curses? */
180 #undef SUNOS_CURSES
181
182 /* Use SystemV curses? */
183 #undef USE_SYSV_CURSES
184
185 /* Use Ncurses? */
186 #undef USE_NCURSES
187
188 /* If you Curses does not have color define this one */
189 #undef NO_COLOR_SUPPORT
190
191 /* Support the Midnight Commander Virtual File System? */
192 #undef USE_VFS
193
194 /* Support for the Memory Allocation Debugger */
195 #undef HAVE_MAD
196
197 /* Extra Debugging */
198 #undef MCDEBUG
199
200 /* If the Slang library will be using it's own terminfo instead of termcap */
201 #undef SLANG_TERMINFO
202
203 /* If Slang library should use termcap */
204 #undef USE_TERMCAP
205
206 /* If you have socket and the rest of the net functions use this */
207 #undef USE_NETCODE
208
209 /* If defined, use .netrc for FTP connections */
210 #undef USE_NETRC
211
212 /* If your operating system does not have enough space for a file name
213 * in a struct dirent, then define this
214 */
215 #undef NEED_EXTRA_DIRENT_BUFFER
216
217 /* Define if you want the du -s summary */
218 #undef HAVE_DUSUM
219
220 /* Define if your du does handle -b correctly */
221 #undef DUSUM_USEB
222
223 /* Define to size of chunks du is displaying its information.
224 * If DUSUM_USEB is defined, this should be 1
225 */
226 #define DUSUM_FACTOR 512
227
228 /* Define this one if you want termnet support */
229 #undef USE_TERMNET
230
231 /* Defined if you have libXpm, <X11/xpm.h>, libXext, <X11/extensions/shape.h> */
232 #undef HAVE_XPM_SHAPE
233
234 /* Defined if you have shadow passwords on Linux */
235 #undef LINUX_SHADOW
236
237 /* Defined if you have the crypt prototype in neither unistd.h nor crypt.h */
238 #undef NEED_CRYPT_PROTOTYPE
239
240 /* Define if you want to turn on SCO-specific code */
241 #undef SCO_FLAVOR
242
243 /* Define if your system has struct linger */
244 #undef HAVE_STRUCT_LINGER
245
246 /* Define if your curses has this one (AIX, OSF/1) */
247 #undef USE_SETUPTERM
248
249 /* Link in ext2fs code for delfs experimental file system */
250 #undef USE_EXT2FSLIB
251
252 /* Define if you want to use the HSC firewall */
253 #undef HSC_PROXY
254
255 /* Define if your system uses PAM for auth stuff */
256 #undef HAVE_PAM
257
258 /* Define if you have the get_process_stats function and have to use that instead of gettimeofday */
259 #undef HAVE_GET_PROCESS_STATS
260
261 /* Define if you want to call the internal routine edit() for the editor */
262 #undef USE_INTERNAL_EDIT
263
264 /* Define if your system has socketpair */
265 #undef HAVE_SOCKETPAIR
266
267 /* Version of ncurses */
268 #undef NCURSES_970530
269
270 #undef HAVE_STPCPY
271
272 #undef ENABLE_NLS
273 #undef HAVE_CATGETS
274 #undef HAVE_GETTEXT
275 #undef HAVE_LC_MESSAGES
276
277 /* Define if you have the __argz_count function. */
278 #undef HAVE___ARGZ_COUNT
279
280 /* Define if you have the __argz_next function. */
281 #undef HAVE___ARGZ_NEXT
282
283 /* Define if you have the __argz_stringify function. */
284 #undef HAVE___ARGZ_STRINGIFY
285
286 /* Define if you have the cfgetospeed function. */
287 #undef HAVE_CFGETOSPEED
288
289 /* Define if you have the crypt function. */
290 #undef HAVE_CRYPT
291
292 /* Define if you have the dcgettext function. */
293 #undef HAVE_DCGETTEXT
294
295 /* Define if you have the getcwd function. */
296 #undef HAVE_GETCWD
297
298 /* Define if you have the getmntinfo function. */
299 #undef HAVE_GETMNTINFO
300
301 /* Define if you have the getpagesize function. */
302 #undef HAVE_GETPAGESIZE
303
304 /* Define if you have the getwd function. */
305 #undef HAVE_GETWD
306
307 /* Define if you have the grantpt function. */
308 #undef HAVE_GRANTPT
309
310 /* Define if you have the initgroups function. */
311 #undef HAVE_INITGROUPS
312
313 /* Define if you have the keyok function. */
314 #undef HAVE_KEYOK
315
316 /* Define if you have the memcpy function. */
317 #undef HAVE_MEMCPY
318
319 /* Define if you have the memmove function. */
320 #undef HAVE_MEMMOVE
321
322 /* Define if you have the memset function. */
323 #undef HAVE_MEMSET
324
325 /* Define if you have the munmap function. */
326 #undef HAVE_MUNMAP
327
328 /* Define if you have the pmap_getmaps function. */
329 #undef HAVE_PMAP_GETMAPS
330
331 /* Define if you have the pmap_getport function. */
332 #undef HAVE_PMAP_GETPORT
333
334 /* Define if you have the pmap_set function. */
335 #undef HAVE_PMAP_SET
336
337 /* Define if you have the putenv function. */
338 #undef HAVE_PUTENV
339
340 /* Define if you have the pwdauth function. */
341 #undef HAVE_PWDAUTH
342
343 /* Define if you have the resizeterm function. */
344 #undef HAVE_RESIZETERM
345
346 /* Define if you have the rresvport function. */
347 #undef HAVE_RRESVPORT
348
349 /* Define if you have the setenv function. */
350 #undef HAVE_SETENV
351
352 /* Define if you have the setlocale function. */
353 #undef HAVE_SETLOCALE
354
355 /* Define if you have the sigaction function. */
356 #undef HAVE_SIGACTION
357
358 /* Define if you have the sigaddset function. */
359 #undef HAVE_SIGADDSET
360
361 /* Define if you have the sigemptyset function. */
362 #undef HAVE_SIGEMPTYSET
363
364 /* Define if you have the sigprocmask function. */
365 #undef HAVE_SIGPROCMASK
366
367 /* Define if you have the socket function. */
368 #undef HAVE_SOCKET
369
370 /* Define if you have the socketpair function. */
371 #undef HAVE_SOCKETPAIR
372
373 /* Define if you have the statfs function. */
374 #undef HAVE_STATFS
375
376 /* Define if you have the statlstat function. */
377 #undef HAVE_STATLSTAT
378
379 /* Define if you have the statvfs function. */
380 #undef HAVE_STATVFS
381
382 /* Define if you have the stpcpy function. */
383 #undef HAVE_STPCPY
384
385 /* Define if you have the strcasecmp function. */
386 #undef HAVE_STRCASECMP
387
388 /* Define if you have the strchr function. */
389 #undef HAVE_STRCHR
390
391 /* Define if you have the strdup function. */
392 #undef HAVE_STRDUP
393
394 /* Define if you have the strerror function. */
395 #undef HAVE_STRERROR
396
397 /* Define if you have the strncasecmp function. */
398 #undef HAVE_STRNCASECMP
399
400 /* Define if you have the sysconf function. */
401 #undef HAVE_SYSCONF
402
403 /* Define if you have the tcgetattr function. */
404 #undef HAVE_TCGETATTR
405
406 /* Define if you have the tcsetattr function. */
407 #undef HAVE_TCSETATTR
408
409 /* Define if you have the truncate function. */
410 #undef HAVE_TRUNCATE
411
412 /* Define if you have the <argz.h> header file. */
413 #undef HAVE_ARGZ_H
414
415 /* Define if you have the <crypt.h> header file. */
416 #undef HAVE_CRYPT_H
417
418 /* Define if you have the <dirent.h> header file. */
419 #undef HAVE_DIRENT_H
420
421 /* Define if you have the <ext2fs/ext2fs.h> header file. */
422 #undef HAVE_EXT2FS_EXT2FS_H
423
424 /* Define if you have the <fcntl.h> header file. */
425 #undef HAVE_FCNTL_H
426
427 /* Define if you have the <grp.h> header file. */
428 #undef HAVE_GRP_H
429
430 /* Define if you have the <limits.h> header file. */
431 #undef HAVE_LIMITS_H
432
433 /* Define if you have the <linux/ext2_fs.h> header file. */
434 #undef HAVE_LINUX_EXT2_FS_H
435
436 /* Define if you have the <locale.h> header file. */
437 #undef HAVE_LOCALE_H
438
439 /* Define if you have the <malloc.h> header file. */
440 #undef HAVE_MALLOC_H
441
442 /* Define if you have the <memory.h> header file. */
443 #undef HAVE_MEMORY_H
444
445 /* Define if you have the <mntent.h> header file. */
446 #undef HAVE_MNTENT_H
447
448 /* Define if you have the <mnttab.h> header file. */
449 #undef HAVE_MNTTAB_H
450
451 /* Define if you have the <ndir.h> header file. */
452 #undef HAVE_NDIR_H
453
454 /* Define if you have the <nl_types.h> header file. */
455 #undef HAVE_NL_TYPES_H
456
457 /* Define if you have the <rpc/pmap_clnt.h> header file. */
458 #undef HAVE_RPC_PMAP_CLNT_H
459
460 /* Define if you have the <shadow.h> header file. */
461 #undef HAVE_SHADOW_H
462
463 /* Define if you have the <shadow/shadow.h> header file. */
464 #undef HAVE_SHADOW_SHADOW_H
465
466 /* Define if you have the <slang.h> header file. */
467 #undef HAVE_SLANG_H
468
469 /* Define if you have the <slang/slang.h> header file. */
470 #undef HAVE_SLANG_SLANG_H
471
472 /* Define if you have the <stdlib.h> header file. */
473 #undef HAVE_STDLIB_H
474
475 /* Define if you have the <string.h> header file. */
476 #undef HAVE_STRING_H
477
478 /* Define if you have the <sys/dir.h> header file. */
479 #undef HAVE_SYS_DIR_H
480
481 /* Define if you have the <sys/dustat.h> header file. */
482 #undef HAVE_SYS_DUSTAT_H
483
484 /* Define if you have the <sys/filsys.h> header file. */
485 #undef HAVE_SYS_FILSYS_H
486
487 /* Define if you have the <sys/fs_types.h> header file. */
488 #undef HAVE_SYS_FS_TYPES_H
489
490 /* Define if you have the <sys/fstyp.h> header file. */
491 #undef HAVE_SYS_FSTYP_H
492
493 /* Define if you have the <sys/mount.h> header file. */
494 #undef HAVE_SYS_MOUNT_H
495
496 /* Define if you have the <sys/ndir.h> header file. */
497 #undef HAVE_SYS_NDIR_H
498
499 /* Define if you have the <sys/param.h> header file. */
500 #undef HAVE_SYS_PARAM_H
501
502 /* Define if you have the <sys/select.h> header file. */
503 #undef HAVE_SYS_SELECT_H
504
505 /* Define if you have the <sys/statfs.h> header file. */
506 #undef HAVE_SYS_STATFS_H
507
508 /* Define if you have the <sys/statvfs.h> header file. */
509 #undef HAVE_SYS_STATVFS_H
510
511 /* Define if you have the <sys/vfs.h> header file. */
512 #undef HAVE_SYS_VFS_H
513
514 /* Define if you have the <termios.h> header file. */
515 #undef HAVE_TERMIOS_H
516
517 /* Define if you have the <unistd.h> header file. */
518 #undef HAVE_UNISTD_H
519
520 /* Define if you have the <utime.h> header file. */
521 #undef HAVE_UTIME_H
522
523 /* Define if you have the <values.h> header file. */
524 #undef HAVE_VALUES_H
525
526 /* Define if you have the i library (-li). */
527 #undef HAVE_LIBI
528
529 /* Define if you have the intl library (-lintl). */
530 #undef HAVE_LIBINTL
531
532 /* Define if you have the nsl library (-lnsl). */
533 #undef HAVE_LIBNSL
534
535 /* Define if you have the pt library (-lpt). */
536 #undef HAVE_LIBPT
537
538 /* Define if you have the socket library (-lsocket). */
539 #undef HAVE_LIBSOCKET
540
541 #ifdef HAVE_LIBPT
542 # define HAVE_GRANTPT
543 #endif
544
545 #if defined(HAVE_LIBCRYPT) || defined(HAVE_LIBCRYPT_I)
546 # define HAVE_CRYPT
547 #endif
548
549 #ifdef HAVE_XVIEW
550 # include <xvmain.h>
551 #endif
552
553 #if defined(HAVE_SIGADDSET) && defined(HAVE_SIGEMPTYSET)
554 # if defined(HAVE_SIGACTION) && defined(HAVE_SIGPROCMASK)
555 # define SLANG_POSIX_SIGNALS
556 # endif
557 #endif
558
559 #ifdef __os2__
560 # define OS2_NT 1
561 # define S_ISFIFO(x) 0
562 #endif
563
564 #ifdef _OS_NT
565 # define OS2_NT 1
566 #endif
567
568 #ifndef OS2_NT
569 /* some Unices do not define this, and slang requires it: */
570 #ifndef unix
571 # define unix
572 #endif
573 #endif
574