File: config.h.in

package info (click to toggle)
mc 4.1.35-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 6,924 kB
  • ctags: 9,665
  • sloc: ansic: 84,273; tcl: 1,779; makefile: 1,266; sh: 864; perl: 262; awk: 148; sed: 93; csh: 1
file content (574 lines) | stat: -rw-r--r-- 14,580 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
/* config.h.in.  Generated automatically from configure.in by autoheader.  */
/* This is the configuration file for the Midnight Commander. It was generated
   by autoconf's configure.
   
   Configure for Midnight Commander
   Copyright (C) 1994, 1995 Janne Kukonlehto
   Copyright (C) 1994, 1995 Miguel de Icaza
   Copyright (C) 1995 Jakub Jelinek
   
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.
   
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
   
#include <VERSION>



/* Define if on AIX 3.
   System headers sometimes define this.
   We just want to avoid a redefinition error message.  */
#ifndef _ALL_SOURCE
#undef _ALL_SOURCE
#endif

/* Define if using alloca.c.  */
#undef C_ALLOCA

/* Define to empty if the keyword does not work.  */
#undef const

/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
   This function is required for alloca.c support on those systems.  */
#undef CRAY_STACKSEG_END

/* Define to `int' if <sys/types.h> doesn't define.  */
#undef gid_t

/* Define if you have alloca, as a function or macro.  */
#undef HAVE_ALLOCA

/* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
#undef HAVE_ALLOCA_H

/* Define if you have the getmntent function.  */
#undef HAVE_GETMNTENT

/* Define if you have a working `mmap' system call.  */
#undef HAVE_MMAP

/* Define if your struct stat has st_blksize.  */
#undef HAVE_ST_BLKSIZE

/* Define if your struct stat has st_blocks.  */
#undef HAVE_ST_BLOCKS

/* Define if your struct stat has st_rdev.  */
#undef HAVE_ST_RDEV

/* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
#undef HAVE_SYS_WAIT_H

/* Define as __inline if that's what the C compiler calls it.  */
#undef inline

/* Define if major, minor, and makedev are declared in <mkdev.h>.  */
#undef MAJOR_IN_MKDEV

/* Define if major, minor, and makedev are declared in <sysmacros.h>.  */
#undef MAJOR_IN_SYSMACROS

/* Define if on MINIX.  */
#undef _MINIX

/* Define to `int' if <sys/types.h> doesn't define.  */
#undef mode_t

/* Define to `long' if <sys/types.h> doesn't define.  */
#undef off_t

/* Define to `int' if <sys/types.h> doesn't define.  */
#undef pid_t

/* Define if the system does not provide POSIX.1 features except
   with this defined.  */
#undef _POSIX_1_SOURCE

/* Define if you need to in order for stat and other things to work.  */
#undef _POSIX_SOURCE

/* Define to `unsigned' if <sys/types.h> doesn't define.  */
#undef size_t

/* If using the C implementation of alloca, define if you know the
   direction of stack growth for your system; otherwise it will be
   automatically deduced at run-time.
 STACK_DIRECTION > 0 => grows toward higher addresses
 STACK_DIRECTION < 0 => grows toward lower addresses
 STACK_DIRECTION = 0 => direction of growth unknown
 */
#undef STACK_DIRECTION

/* Define if you have the ANSI C header files.  */
#undef STDC_HEADERS

/* Define to `int' if <sys/types.h> doesn't define.  */
#undef uid_t

/* Define if the X Window System is missing or not being used.  */
#undef X_DISPLAY_MISSING

#undef PACKAGE

/* Always defined */
#undef D_INO_IN_DIRENT
#undef IS_AIX
#undef MOUNTED_FREAD
#undef MOUNTED_FREAD_FSTYP
#undef MOUNTED_GETFSSTAT
#undef MOUNTED_GETMNT
#undef MOUNTED_GETMNTENT1
#undef MOUNTED_GETMNTENT2
#undef MOUNTED_GETMNTINFO
#undef MOUNTED_VMOUNT
#undef STAT_STATFS2_BSIZE
#undef STAT_STATFS2_FSIZE
#undef STAT_STATFS2_FS_DATA
#undef STAT_STATFS3_OSF1
#undef STAT_STATFS4
#undef STAT_STATVFS

/* Define umode_t if your system does not provide it */
#undef umode_t

/* Define nlink_t if your system does not provide it */
#undef nlink_t

/* Does the file command accepts the -L option */
#undef FILE_L

/* Does the file command work well with - option for stdin? */
#undef FILE_STDIN

/* Does the grep command work well with - option for stdin? */
#undef GREP_STDIN

/* Is the program using the GPM library? */
#undef HAVE_LIBGPM

/* Is the program using the distributed slang library? */
#undef HAVE_SLANG

/* Is the program using a system-installed slang library? */
#undef HAVE_SYSTEM_SLANG

/* Define if the slang.h header file is inside a directory slang
** in the standard directories
*/
#undef SLANG_H_INSIDE_SLANG_DIR

/* Does the program have subshell support? */
#undef HAVE_SUBSHELL_SUPPORT

/* If you don't have gcc, define this */
#undef OLD_TOOLS 

/* Is the subshell the default or optional? */
#undef SUBSHELL_OPTIONAL

/* Use SunOS SysV curses? */
#undef SUNOS_CURSES

/* Use SystemV curses? */
#undef USE_SYSV_CURSES

/* Use Ncurses? */
#undef USE_NCURSES

/* If you Curses does not have color define this one */
#undef NO_COLOR_SUPPORT

/* Support the Midnight Commander Virtual File System? */
#undef USE_VFS

/* Support for the Memory Allocation Debugger */
#undef HAVE_MAD

/* Extra Debugging */
#undef MCDEBUG

/* If the Slang library will be using it's own terminfo instead of termcap */
#undef SLANG_TERMINFO

/* If Slang library should use termcap */
#undef USE_TERMCAP

/* If you have socket and the rest of the net functions use this */
#undef USE_NETCODE

/* If defined, use .netrc for FTP connections */
#undef USE_NETRC 

/* If your operating system does not have enough space for a file name
 * in a struct dirent, then define this
 */
#undef NEED_EXTRA_DIRENT_BUFFER

/* Define if you want the du -s summary */
#undef HAVE_DUSUM

/* Define if your du does handle -b correctly */
#undef DUSUM_USEB

/* Define to size of chunks du is displaying its information.
 * If DUSUM_USEB is defined, this should be 1
 */
#define DUSUM_FACTOR 512

/* Define this one if you want termnet support */
#undef USE_TERMNET

/* Defined if you have libXpm, <X11/xpm.h>, libXext, <X11/extensions/shape.h> */
#undef HAVE_XPM_SHAPE

/* Defined if you have shadow passwords on Linux */
#undef LINUX_SHADOW

/* Defined if you have the crypt prototype in neither unistd.h nor crypt.h */
#undef NEED_CRYPT_PROTOTYPE

/* Define if you want to turn on SCO-specific code */
#undef SCO_FLAVOR

/* Define if your system has struct linger */
#undef HAVE_STRUCT_LINGER

/* Define if your curses has this one (AIX, OSF/1) */
#undef USE_SETUPTERM

/* Link in ext2fs code for delfs experimental file system */
#undef USE_EXT2FSLIB

/* Define if you want to use the HSC firewall */
#undef HSC_PROXY

/* Define if your system uses PAM for auth stuff */
#undef HAVE_PAM

/* Define if you have the get_process_stats function and have to use that instead of gettimeofday  */
#undef HAVE_GET_PROCESS_STATS

/* Define if you want to call the internal routine edit() for the editor */
#undef USE_INTERNAL_EDIT

/* Define if your system has socketpair */
#undef HAVE_SOCKETPAIR

/* Version of ncurses */
#undef NCURSES_970530

#undef HAVE_STPCPY

#undef ENABLE_NLS
#undef HAVE_CATGETS
#undef HAVE_GETTEXT
#undef HAVE_LC_MESSAGES

/* Define if you have the __argz_count function.  */
#undef HAVE___ARGZ_COUNT

/* Define if you have the __argz_next function.  */
#undef HAVE___ARGZ_NEXT

/* Define if you have the __argz_stringify function.  */
#undef HAVE___ARGZ_STRINGIFY

/* Define if you have the cfgetospeed function.  */
#undef HAVE_CFGETOSPEED

/* Define if you have the crypt function.  */
#undef HAVE_CRYPT

/* Define if you have the dcgettext function.  */
#undef HAVE_DCGETTEXT

/* Define if you have the getcwd function.  */
#undef HAVE_GETCWD

/* Define if you have the getmntinfo function.  */
#undef HAVE_GETMNTINFO

/* Define if you have the getpagesize function.  */
#undef HAVE_GETPAGESIZE

/* Define if you have the getwd function.  */
#undef HAVE_GETWD

/* Define if you have the grantpt function.  */
#undef HAVE_GRANTPT

/* Define if you have the initgroups function.  */
#undef HAVE_INITGROUPS

/* Define if you have the keyok function.  */
#undef HAVE_KEYOK

/* Define if you have the memcpy function.  */
#undef HAVE_MEMCPY

/* Define if you have the memmove function.  */
#undef HAVE_MEMMOVE

/* Define if you have the memset function.  */
#undef HAVE_MEMSET

/* Define if you have the munmap function.  */
#undef HAVE_MUNMAP

/* Define if you have the pmap_getmaps function.  */
#undef HAVE_PMAP_GETMAPS

/* Define if you have the pmap_getport function.  */
#undef HAVE_PMAP_GETPORT

/* Define if you have the pmap_set function.  */
#undef HAVE_PMAP_SET

/* Define if you have the putenv function.  */
#undef HAVE_PUTENV

/* Define if you have the pwdauth function.  */
#undef HAVE_PWDAUTH

/* Define if you have the resizeterm function.  */
#undef HAVE_RESIZETERM

/* Define if you have the rresvport function.  */
#undef HAVE_RRESVPORT

/* Define if you have the setenv function.  */
#undef HAVE_SETENV

/* Define if you have the setlocale function.  */
#undef HAVE_SETLOCALE

/* Define if you have the sigaction function.  */
#undef HAVE_SIGACTION

/* Define if you have the sigaddset function.  */
#undef HAVE_SIGADDSET

/* Define if you have the sigemptyset function.  */
#undef HAVE_SIGEMPTYSET

/* Define if you have the sigprocmask function.  */
#undef HAVE_SIGPROCMASK

/* Define if you have the socket function.  */
#undef HAVE_SOCKET

/* Define if you have the socketpair function.  */
#undef HAVE_SOCKETPAIR

/* Define if you have the statfs function.  */
#undef HAVE_STATFS

/* Define if you have the statlstat function.  */
#undef HAVE_STATLSTAT

/* Define if you have the statvfs function.  */
#undef HAVE_STATVFS

/* Define if you have the stpcpy function.  */
#undef HAVE_STPCPY

/* Define if you have the strcasecmp function.  */
#undef HAVE_STRCASECMP

/* Define if you have the strchr function.  */
#undef HAVE_STRCHR

/* Define if you have the strdup function.  */
#undef HAVE_STRDUP

/* Define if you have the strerror function.  */
#undef HAVE_STRERROR

/* Define if you have the strncasecmp function.  */
#undef HAVE_STRNCASECMP

/* Define if you have the sysconf function.  */
#undef HAVE_SYSCONF

/* Define if you have the tcgetattr function.  */
#undef HAVE_TCGETATTR

/* Define if you have the tcsetattr function.  */
#undef HAVE_TCSETATTR

/* Define if you have the truncate function.  */
#undef HAVE_TRUNCATE

/* Define if you have the <argz.h> header file.  */
#undef HAVE_ARGZ_H

/* Define if you have the <crypt.h> header file.  */
#undef HAVE_CRYPT_H

/* Define if you have the <dirent.h> header file.  */
#undef HAVE_DIRENT_H

/* Define if you have the <ext2fs/ext2fs.h> header file.  */
#undef HAVE_EXT2FS_EXT2FS_H

/* Define if you have the <fcntl.h> header file.  */
#undef HAVE_FCNTL_H

/* Define if you have the <grp.h> header file.  */
#undef HAVE_GRP_H

/* Define if you have the <limits.h> header file.  */
#undef HAVE_LIMITS_H

/* Define if you have the <linux/ext2_fs.h> header file.  */
#undef HAVE_LINUX_EXT2_FS_H

/* Define if you have the <locale.h> header file.  */
#undef HAVE_LOCALE_H

/* Define if you have the <malloc.h> header file.  */
#undef HAVE_MALLOC_H

/* Define if you have the <memory.h> header file.  */
#undef HAVE_MEMORY_H

/* Define if you have the <mntent.h> header file.  */
#undef HAVE_MNTENT_H

/* Define if you have the <mnttab.h> header file.  */
#undef HAVE_MNTTAB_H

/* Define if you have the <ndir.h> header file.  */
#undef HAVE_NDIR_H

/* Define if you have the <nl_types.h> header file.  */
#undef HAVE_NL_TYPES_H

/* Define if you have the <rpc/pmap_clnt.h> header file.  */
#undef HAVE_RPC_PMAP_CLNT_H

/* Define if you have the <shadow.h> header file.  */
#undef HAVE_SHADOW_H

/* Define if you have the <shadow/shadow.h> header file.  */
#undef HAVE_SHADOW_SHADOW_H

/* Define if you have the <slang.h> header file.  */
#undef HAVE_SLANG_H

/* Define if you have the <slang/slang.h> header file.  */
#undef HAVE_SLANG_SLANG_H

/* Define if you have the <stdlib.h> header file.  */
#undef HAVE_STDLIB_H

/* Define if you have the <string.h> header file.  */
#undef HAVE_STRING_H

/* Define if you have the <sys/dir.h> header file.  */
#undef HAVE_SYS_DIR_H

/* Define if you have the <sys/dustat.h> header file.  */
#undef HAVE_SYS_DUSTAT_H

/* Define if you have the <sys/filsys.h> header file.  */
#undef HAVE_SYS_FILSYS_H

/* Define if you have the <sys/fs_types.h> header file.  */
#undef HAVE_SYS_FS_TYPES_H

/* Define if you have the <sys/fstyp.h> header file.  */
#undef HAVE_SYS_FSTYP_H

/* Define if you have the <sys/mount.h> header file.  */
#undef HAVE_SYS_MOUNT_H

/* Define if you have the <sys/ndir.h> header file.  */
#undef HAVE_SYS_NDIR_H

/* Define if you have the <sys/param.h> header file.  */
#undef HAVE_SYS_PARAM_H

/* Define if you have the <sys/select.h> header file.  */
#undef HAVE_SYS_SELECT_H

/* Define if you have the <sys/statfs.h> header file.  */
#undef HAVE_SYS_STATFS_H

/* Define if you have the <sys/statvfs.h> header file.  */
#undef HAVE_SYS_STATVFS_H

/* Define if you have the <sys/vfs.h> header file.  */
#undef HAVE_SYS_VFS_H

/* Define if you have the <termios.h> header file.  */
#undef HAVE_TERMIOS_H

/* Define if you have the <unistd.h> header file.  */
#undef HAVE_UNISTD_H

/* Define if you have the <utime.h> header file.  */
#undef HAVE_UTIME_H

/* Define if you have the <values.h> header file.  */
#undef HAVE_VALUES_H

/* Define if you have the i library (-li).  */
#undef HAVE_LIBI

/* Define if you have the intl library (-lintl).  */
#undef HAVE_LIBINTL

/* Define if you have the nsl library (-lnsl).  */
#undef HAVE_LIBNSL

/* Define if you have the pt library (-lpt).  */
#undef HAVE_LIBPT

/* Define if you have the socket library (-lsocket).  */
#undef HAVE_LIBSOCKET

#ifdef HAVE_LIBPT
#    define HAVE_GRANTPT
#endif

#if defined(HAVE_LIBCRYPT) || defined(HAVE_LIBCRYPT_I)
#    define HAVE_CRYPT
#endif

#ifdef HAVE_XVIEW
#    include <xvmain.h>
#endif

#if defined(HAVE_SIGADDSET) && defined(HAVE_SIGEMPTYSET)
# if defined(HAVE_SIGACTION) && defined(HAVE_SIGPROCMASK)
#  define SLANG_POSIX_SIGNALS
# endif
#endif

#ifdef __os2__
#    define OS2_NT 1
#    define S_ISFIFO(x) 0
#endif

#ifdef _OS_NT
#    define OS2_NT 1
#endif

#ifndef OS2_NT
/* some Unices do not define this, and slang requires it: */
#ifndef unix
#    define unix
#endif
#endif