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