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.
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
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.
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.
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. */
29 /* Define if on AIX 3.
30 System headers sometimes define this.
31 We just want to avoid a redefinition error message. */
33 /* #undef _ALL_SOURCE */
36 /* Define if using alloca.c. */
39 /* Define to empty if the keyword does not work. */
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 */
46 /* Define to `int' if <sys/types.h> doesn't define. */
49 /* Define if you have alloca, as a function or macro. */
52 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
53 /* #undef HAVE_ALLOCA_H */
55 /* Define if you have the getmntent function. */
56 #define HAVE_GETMNTENT 1
58 /* Define if you have a working `mmap' system call. */
59 /* #undef HAVE_MMAP */
61 /* Define if your struct stat has st_blksize. */
62 #define HAVE_ST_BLKSIZE 1
64 /* Define if your struct stat has st_blocks. */
65 #define HAVE_ST_BLOCKS 1
67 /* Define if your struct stat has st_rdev. */
68 #define HAVE_ST_RDEV 1
70 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
71 #define HAVE_SYS_WAIT_H 1
73 /* Define as __inline if that's what the C compiler calls it. */
76 /* Define if major, minor, and makedev are declared in <mkdev.h>. */
77 /* #undef MAJOR_IN_MKDEV */
79 /* Define if major, minor, and makedev are declared in <sysmacros.h>. */
80 #define MAJOR_IN_SYSMACROS 1
82 /* Define if on MINIX. */
85 /* Define to `int' if <sys/types.h> doesn't define. */
88 /* Define to `long' if <sys/types.h> doesn't define. */
91 /* Define to `int' if <sys/types.h> doesn't define. */
94 /* Define if the system does not provide POSIX.1 features except
96 /* #undef _POSIX_1_SOURCE */
98 /* Define if you need to in order for stat and other things to work. */
99 /* #undef _POSIX_SOURCE */
101 /* Define to `unsigned' if <sys/types.h> doesn't define. */
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
111 /* #undef STACK_DIRECTION */
113 /* Define if you have the ANSI C header files. */
114 #define STDC_HEADERS 1
116 /* Define to `int' if <sys/types.h> doesn't define. */
119 /* Define if the X Window System is missing or not being used. */
120 /* #undef X_DISPLAY_MISSING */
125 #define D_INO_IN_DIRENT 1
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 */
142 /* Define umode_t if your system does not provide it */
145 /* Define nlink_t if your system does not provide it */
148 /* Does the file command accepts the -L option */
151 /* Does the file command work well with - option for stdin? */
154 /* Does the grep command work well with - option for stdin? */
157 /* Is the program using the GPM library? */
158 /* #undef HAVE_LIBGPM */
160 /* Is the program using the distributed slang library? */
163 /* Is the program using a system-installed slang library? */
164 /* #undef HAVE_SYSTEM_SLANG */
166 /* Define if the slang.h header file is inside a directory slang
167 ** in the standard directories
169 /* #undef SLANG_H_INSIDE_SLANG_DIR */
171 /* Does the program have subshell support? */
172 #define HAVE_SUBSHELL_SUPPORT 1
174 /* If you don't have gcc, define this */
175 /* #undef OLD_TOOLS */
177 /* Is the subshell the default or optional? */
178 /* #undef SUBSHELL_OPTIONAL */
180 /* Use SunOS SysV curses? */
181 /* #undef SUNOS_CURSES */
183 /* Use SystemV curses? */
184 /* #undef USE_SYSV_CURSES */
187 /* #undef USE_NCURSES */
189 /* If you Curses does not have color define this one */
190 /* #undef NO_COLOR_SUPPORT */
192 /* Support the Midnight Commander Virtual File System? */
195 /* Support for the Memory Allocation Debugger */
196 /* #undef HAVE_MAD */
198 /* Extra Debugging */
201 /* If the Slang library will be using it's own terminfo instead of termcap */
202 #define SLANG_TERMINFO 1
204 /* If Slang library should use termcap */
205 /* #undef USE_TERMCAP */
207 /* If you have socket and the rest of the net functions use this */
208 #define USE_NETCODE 1
210 /* If defined, use .netrc for FTP connections */
211 /* #undef USE_NETRC */
213 /* If your operating system does not have enough space for a file name
214 * in a struct dirent, then define this
216 /* #undef NEED_EXTRA_DIRENT_BUFFER */
218 /* Define if you want the du -s summary */
221 /* Define if your du does handle -b correctly */
224 /* Define to size of chunks du is displaying its information.
225 * If DUSUM_USEB is defined, this should be 1
227 #define DUSUM_FACTOR 1
229 /* Define this one if you want termnet support */
230 /* #undef USE_TERMNET */
232 /* Defined if you have libXpm, <X11/xpm.h>, libXext, <X11/extensions/shape.h> */
233 /* #undef HAVE_XPM_SHAPE */
235 /* Defined if you have shadow passwords on Linux */
236 /* #undef LINUX_SHADOW */
238 /* Defined if you have the crypt prototype in neither unistd.h nor crypt.h */
239 #define NEED_CRYPT_PROTOTYPE 1
241 /* Define if you want to turn on SCO-specific code */
242 /* #undef SCO_FLAVOR */
244 /* Define if your system has struct linger */
245 #define HAVE_STRUCT_LINGER 1
247 /* Define if your curses has this one (AIX, OSF/1) */
248 /* #undef USE_SETUPTERM */
250 /* Link in ext2fs code for delfs experimental file system */
251 /* #undef USE_EXT2FSLIB */
253 /* Define if you want to use the HSC firewall */
254 /* #undef HSC_PROXY */
256 /* Define if your system uses PAM for auth stuff */
257 /* #undef HAVE_PAM */
259 /* Define if you have the get_process_stats function and have to use that instead of gettimeofday */
260 /* #undef HAVE_GET_PROCESS_STATS */
262 /* Define if you want to call the internal routine edit() for the editor */
263 #define USE_INTERNAL_EDIT 1
265 /* Define if your system has socketpair */
266 #define HAVE_SOCKETPAIR 1
268 /* Version of ncurses */
269 /* #undef NCURSES_970530 */
271 /* #undef HAVE_STPCPY */
274 /* #undef HAVE_CATGETS */
275 /* #undef HAVE_GETTEXT */
276 #define HAVE_LC_MESSAGES 1
278 /* Define if you have the __argz_count function. */
279 /* #undef HAVE___ARGZ_COUNT */
281 /* Define if you have the __argz_next function. */
282 /* #undef HAVE___ARGZ_NEXT */
284 /* Define if you have the __argz_stringify function. */
285 /* #undef HAVE___ARGZ_STRINGIFY */
287 /* Define if you have the cfgetospeed function. */
288 #define HAVE_CFGETOSPEED 1
290 /* Define if you have the crypt function. */
291 /* #undef HAVE_CRYPT */
293 /* Define if you have the dcgettext function. */
294 /* #undef HAVE_DCGETTEXT */
296 /* Define if you have the getcwd function. */
297 #define HAVE_GETCWD 1
299 /* Define if you have the getmntinfo function. */
300 /* #undef HAVE_GETMNTINFO */
302 /* Define if you have the getpagesize function. */
303 #define HAVE_GETPAGESIZE 1
305 /* Define if you have the getwd function. */
308 /* Define if you have the grantpt function. */
309 #define HAVE_GRANTPT 1
311 /* Define if you have the initgroups function. */
312 #define HAVE_INITGROUPS 1
314 /* Define if you have the keyok function. */
315 /* #undef HAVE_KEYOK */
317 /* Define if you have the memcpy function. */
318 #define HAVE_MEMCPY 1
320 /* Define if you have the memmove function. */
321 #define HAVE_MEMMOVE 1
323 /* Define if you have the memset function. */
324 #define HAVE_MEMSET 1
326 /* Define if you have the munmap function. */
327 #define HAVE_MUNMAP 1
329 /* Define if you have the pmap_getmaps function. */
330 /* #undef HAVE_PMAP_GETMAPS */
332 /* Define if you have the pmap_getport function. */
333 /* #undef HAVE_PMAP_GETPORT */
335 /* Define if you have the pmap_set function. */
336 /* #undef HAVE_PMAP_SET */
338 /* Define if you have the putenv function. */
339 #define HAVE_PUTENV 1
341 /* Define if you have the pwdauth function. */
342 /* #undef HAVE_PWDAUTH */
344 /* Define if you have the resizeterm function. */
345 /* #undef HAVE_RESIZETERM */
347 /* Define if you have the rresvport function. */
348 #define HAVE_RRESVPORT 1
350 /* Define if you have the setenv function. */
351 #define HAVE_SETENV 1
353 /* Define if you have the setlocale function. */
354 #define HAVE_SETLOCALE 1
356 /* Define if you have the sigaction function. */
357 #define HAVE_SIGACTION 1
359 /* Define if you have the sigaddset function. */
360 #define HAVE_SIGADDSET 1
362 /* Define if you have the sigemptyset function. */
363 #define HAVE_SIGEMPTYSET 1
365 /* Define if you have the sigprocmask function. */
366 #define HAVE_SIGPROCMASK 1
368 /* Define if you have the socket function. */
369 #define HAVE_SOCKET 1
371 /* Define if you have the socketpair function. */
372 #define HAVE_SOCKETPAIR 1
374 /* Define if you have the statfs function. */
375 #define HAVE_STATFS 1
377 /* Define if you have the statlstat function. */
378 /* #undef HAVE_STATLSTAT */
380 /* Define if you have the statvfs function. */
381 /* #undef HAVE_STATVFS */
383 /* Define if you have the stpcpy function. */
384 /* #undef HAVE_STPCPY */
386 /* Define if you have the strcasecmp function. */
387 #define HAVE_STRCASECMP 1
389 /* Define if you have the strchr function. */
390 #define HAVE_STRCHR 1
392 /* Define if you have the strdup function. */
393 #define HAVE_STRDUP 1
395 /* Define if you have the strerror function. */
396 #define HAVE_STRERROR 1
398 /* Define if you have the strncasecmp function. */
399 #define HAVE_STRNCASECMP 1
401 /* Define if you have the sysconf function. */
402 #define HAVE_SYSCONF 1
404 /* Define if you have the tcgetattr function. */
405 #define HAVE_TCGETATTR 1
407 /* Define if you have the tcsetattr function. */
408 #define HAVE_TCSETATTR 1
410 /* Define if you have the truncate function. */
411 #define HAVE_TRUNCATE 1
413 /* Define if you have the <argz.h> header file. */
414 /* #undef HAVE_ARGZ_H */
416 /* Define if you have the <crypt.h> header file. */
417 #define HAVE_CRYPT_H 1
419 /* Define if you have the <dirent.h> header file. */
420 #define HAVE_DIRENT_H 1
422 /* Define if you have the <ext2fs/ext2fs.h> header file. */
423 /* #undef HAVE_EXT2FS_EXT2FS_H */
425 /* Define if you have the <fcntl.h> header file. */
426 #define HAVE_FCNTL_H 1
428 /* Define if you have the <grp.h> header file. */
431 /* Define if you have the <limits.h> header file. */
432 #define HAVE_LIMITS_H 1
434 /* Define if you have the <linux/ext2_fs.h> header file. */
435 /* #undef HAVE_LINUX_EXT2_FS_H */
437 /* Define if you have the <locale.h> header file. */
438 #define HAVE_LOCALE_H 1
440 /* Define if you have the <malloc.h> header file. */
441 #define HAVE_MALLOC_H 1
443 /* Define if you have the <memory.h> header file. */
444 #define HAVE_MEMORY_H 1
446 /* Define if you have the <mntent.h> header file. */
447 #define HAVE_MNTENT_H 1
449 /* Define if you have the <mnttab.h> header file. */
450 /* #undef HAVE_MNTTAB_H */
452 /* Define if you have the <ndir.h> header file. */
453 /* #undef HAVE_NDIR_H */
455 /* Define if you have the <nl_types.h> header file. */
456 /* #undef HAVE_NL_TYPES_H */
458 /* Define if you have the <rpc/pmap_clnt.h> header file. */
459 /* #undef HAVE_RPC_PMAP_CLNT_H */
461 /* Define if you have the <shadow.h> header file. */
462 /* #undef HAVE_SHADOW_H */
464 /* Define if you have the <shadow/shadow.h> header file. */
465 /* #undef HAVE_SHADOW_SHADOW_H */
467 /* Define if you have the <slang.h> header file. */
468 /* #undef HAVE_SLANG_H */
470 /* Define if you have the <slang/slang.h> header file. */
471 /* #undef HAVE_SLANG_SLANG_H */
473 /* Define if you have the <stdlib.h> header file. */
474 #define HAVE_STDLIB_H 1
476 /* Define if you have the <string.h> header file. */
477 #define HAVE_STRING_H 1
479 /* Define if you have the <sys/dir.h> header file. */
480 /* #undef HAVE_SYS_DIR_H */
482 /* Define if you have the <sys/dustat.h> header file. */
483 /* #undef HAVE_SYS_DUSTAT_H */
485 /* Define if you have the <sys/filsys.h> header file. */
486 /* #undef HAVE_SYS_FILSYS_H */
488 /* Define if you have the <sys/fs_types.h> header file. */
489 /* #undef HAVE_SYS_FS_TYPES_H */
491 /* Define if you have the <sys/fstyp.h> header file. */
492 /* #undef HAVE_SYS_FSTYP_H */
494 /* Define if you have the <sys/mount.h> header file. */
495 #define HAVE_SYS_MOUNT_H 1
497 /* Define if you have the <sys/ndir.h> header file. */
498 /* #undef HAVE_SYS_NDIR_H */
500 /* Define if you have the <sys/param.h> header file. */
501 #define HAVE_SYS_PARAM_H 1
503 /* Define if you have the <sys/select.h> header file. */
504 #define HAVE_SYS_SELECT_H 1
506 /* Define if you have the <sys/statfs.h> header file. */
507 /* #undef HAVE_SYS_STATFS_H */
509 /* Define if you have the <sys/statvfs.h> header file. */
510 /* #undef HAVE_SYS_STATVFS_H */
512 /* Define if you have the <sys/vfs.h> header file. */
513 #define HAVE_SYS_VFS_H 1
515 /* Define if you have the <termios.h> header file. */
516 #define HAVE_TERMIOS_H 1
518 /* Define if you have the <unistd.h> header file. */
519 #define HAVE_UNISTD_H 1
521 /* Define if you have the <utime.h> header file. */
522 #define HAVE_UTIME_H 1
524 /* Define if you have the <values.h> header file. */
525 /* #undef HAVE_VALUES_H */
527 /* Define if you have the i library (-li). */
528 /* #undef HAVE_LIBI */
530 /* Define if you have the intl library (-lintl). */
531 #define HAVE_LIBINTL 1
533 /* Define if you have the nsl library (-lnsl). */
534 /* #undef HAVE_LIBNSL */
536 /* Define if you have the pt library (-lpt). */
537 /* #undef HAVE_LIBPT */
539 /* Define if you have the socket library (-lsocket). */
540 /* #undef HAVE_LIBSOCKET */
543 # define HAVE_GRANTPT
546 #if defined(HAVE_LIBCRYPT) || defined(HAVE_LIBCRYPT_I)
554 #if defined(HAVE_SIGADDSET) && defined(HAVE_SIGEMPTYSET)
555 # if defined(HAVE_SIGACTION) && defined(HAVE_SIGPROCMASK)
556 # define SLANG_POSIX_SIGNALS
562 # define S_ISFIFO(x) 0
570 /* some Unices do not define this, and slang requires it: */