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.
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
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.
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.
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. */
28 /* Define if on AIX 3.
29 System headers sometimes define this.
30 We just want to avoid a redefinition error message. */
35 /* Define if using alloca.c. */
38 /* Define to empty if the keyword does not work. */
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
45 /* Define to `int' if <sys/types.h> doesn't define. */
48 /* Define if you have alloca, as a function or macro. */
51 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
54 /* Define if you have the getmntent function. */
57 /* Define if you have a working `mmap' system call. */
60 /* Define if your struct stat has st_blksize. */
61 #undef HAVE_ST_BLKSIZE
63 /* Define if your struct stat has st_blocks. */
66 /* Define if your struct stat has st_rdev. */
69 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
70 #undef HAVE_SYS_WAIT_H
72 /* Define as __inline if that's what the C compiler calls it. */
75 /* Define if major, minor, and makedev are declared in <mkdev.h>. */
78 /* Define if major, minor, and makedev are declared in <sysmacros.h>. */
79 #undef MAJOR_IN_SYSMACROS
81 /* Define if on MINIX. */
84 /* Define to `int' if <sys/types.h> doesn't define. */
87 /* Define to `long' if <sys/types.h> doesn't define. */
90 /* Define to `int' if <sys/types.h> doesn't define. */
93 /* Define if the system does not provide POSIX.1 features except
95 #undef _POSIX_1_SOURCE
97 /* Define if you need to in order for stat and other things to work. */
100 /* Define to `unsigned' if <sys/types.h> doesn't define. */
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
110 #undef STACK_DIRECTION
112 /* Define if you have the ANSI C header files. */
115 /* Define to `int' if <sys/types.h> doesn't define. */
118 /* Define if the X Window System is missing or not being used. */
119 #undef X_DISPLAY_MISSING
124 #undef D_INO_IN_DIRENT
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
141 /* Define umode_t if your system does not provide it */
144 /* Define nlink_t if your system does not provide it */
147 /* Does the file command accepts the -L option */
150 /* Does the file command work well with - option for stdin? */
153 /* Does the grep command work well with - option for stdin? */
156 /* Is the program using the GPM library? */
159 /* Is the program using the distributed slang library? */
162 /* Is the program using a system-installed slang library? */
163 #undef HAVE_SYSTEM_SLANG
165 /* Define if the slang.h header file is inside a directory slang
166 ** in the standard directories
168 #undef SLANG_H_INSIDE_SLANG_DIR
170 /* Does the program have subshell support? */
171 #undef HAVE_SUBSHELL_SUPPORT
173 /* If you don't have gcc, define this */
176 /* Is the subshell the default or optional? */
177 #undef SUBSHELL_OPTIONAL
179 /* Use SunOS SysV curses? */
182 /* Use SystemV curses? */
183 #undef USE_SYSV_CURSES
188 /* If you Curses does not have color define this one */
189 #undef NO_COLOR_SUPPORT
191 /* Support the Midnight Commander Virtual File System? */
194 /* Support for the Memory Allocation Debugger */
197 /* Extra Debugging */
200 /* If the Slang library will be using it's own terminfo instead of termcap */
201 #undef SLANG_TERMINFO
203 /* If Slang library should use termcap */
206 /* If you have socket and the rest of the net functions use this */
209 /* If defined, use .netrc for FTP connections */
212 /* If your operating system does not have enough space for a file name
213 * in a struct dirent, then define this
215 #undef NEED_EXTRA_DIRENT_BUFFER
217 /* Define if you want the du -s summary */
220 /* Define if your du does handle -b correctly */
223 /* Define to size of chunks du is displaying its information.
224 * If DUSUM_USEB is defined, this should be 1
226 #define DUSUM_FACTOR 512
228 /* Define this one if you want termnet support */
231 /* Defined if you have libXpm, <X11/xpm.h>, libXext, <X11/extensions/shape.h> */
232 #undef HAVE_XPM_SHAPE
234 /* Defined if you have shadow passwords on Linux */
237 /* Defined if you have the crypt prototype in neither unistd.h nor crypt.h */
238 #undef NEED_CRYPT_PROTOTYPE
240 /* Define if you want to turn on SCO-specific code */
243 /* Define if your system has struct linger */
244 #undef HAVE_STRUCT_LINGER
246 /* Define if your curses has this one (AIX, OSF/1) */
249 /* Link in ext2fs code for delfs experimental file system */
252 /* Define if you want to use the HSC firewall */
255 /* Define if your system uses PAM for auth stuff */
258 /* Define if you have the get_process_stats function and have to use that instead of gettimeofday */
259 #undef HAVE_GET_PROCESS_STATS
261 /* Define if you want to call the internal routine edit() for the editor */
262 #undef USE_INTERNAL_EDIT
264 /* Define if your system has socketpair */
265 #undef HAVE_SOCKETPAIR
267 /* Version of ncurses */
268 #undef NCURSES_970530
275 #undef HAVE_LC_MESSAGES
277 /* Define if you have the __argz_count function. */
278 #undef HAVE___ARGZ_COUNT
280 /* Define if you have the __argz_next function. */
281 #undef HAVE___ARGZ_NEXT
283 /* Define if you have the __argz_stringify function. */
284 #undef HAVE___ARGZ_STRINGIFY
286 /* Define if you have the cfgetospeed function. */
287 #undef HAVE_CFGETOSPEED
289 /* Define if you have the crypt function. */
292 /* Define if you have the dcgettext function. */
293 #undef HAVE_DCGETTEXT
295 /* Define if you have the getcwd function. */
298 /* Define if you have the getmntinfo function. */
299 #undef HAVE_GETMNTINFO
301 /* Define if you have the getpagesize function. */
302 #undef HAVE_GETPAGESIZE
304 /* Define if you have the getwd function. */
307 /* Define if you have the grantpt function. */
310 /* Define if you have the initgroups function. */
311 #undef HAVE_INITGROUPS
313 /* Define if you have the keyok function. */
316 /* Define if you have the memcpy function. */
319 /* Define if you have the memmove function. */
322 /* Define if you have the memset function. */
325 /* Define if you have the munmap function. */
328 /* Define if you have the pmap_getmaps function. */
329 #undef HAVE_PMAP_GETMAPS
331 /* Define if you have the pmap_getport function. */
332 #undef HAVE_PMAP_GETPORT
334 /* Define if you have the pmap_set function. */
337 /* Define if you have the putenv function. */
340 /* Define if you have the pwdauth function. */
343 /* Define if you have the resizeterm function. */
344 #undef HAVE_RESIZETERM
346 /* Define if you have the rresvport function. */
347 #undef HAVE_RRESVPORT
349 /* Define if you have the setenv function. */
352 /* Define if you have the setlocale function. */
353 #undef HAVE_SETLOCALE
355 /* Define if you have the sigaction function. */
356 #undef HAVE_SIGACTION
358 /* Define if you have the sigaddset function. */
359 #undef HAVE_SIGADDSET
361 /* Define if you have the sigemptyset function. */
362 #undef HAVE_SIGEMPTYSET
364 /* Define if you have the sigprocmask function. */
365 #undef HAVE_SIGPROCMASK
367 /* Define if you have the socket function. */
370 /* Define if you have the socketpair function. */
371 #undef HAVE_SOCKETPAIR
373 /* Define if you have the statfs function. */
376 /* Define if you have the statlstat function. */
377 #undef HAVE_STATLSTAT
379 /* Define if you have the statvfs function. */
382 /* Define if you have the stpcpy function. */
385 /* Define if you have the strcasecmp function. */
386 #undef HAVE_STRCASECMP
388 /* Define if you have the strchr function. */
391 /* Define if you have the strdup function. */
394 /* Define if you have the strerror function. */
397 /* Define if you have the strncasecmp function. */
398 #undef HAVE_STRNCASECMP
400 /* Define if you have the sysconf function. */
403 /* Define if you have the tcgetattr function. */
404 #undef HAVE_TCGETATTR
406 /* Define if you have the tcsetattr function. */
407 #undef HAVE_TCSETATTR
409 /* Define if you have the truncate function. */
412 /* Define if you have the <argz.h> header file. */
415 /* Define if you have the <crypt.h> header file. */
418 /* Define if you have the <dirent.h> header file. */
421 /* Define if you have the <ext2fs/ext2fs.h> header file. */
422 #undef HAVE_EXT2FS_EXT2FS_H
424 /* Define if you have the <fcntl.h> header file. */
427 /* Define if you have the <grp.h> header file. */
430 /* Define if you have the <limits.h> header file. */
433 /* Define if you have the <linux/ext2_fs.h> header file. */
434 #undef HAVE_LINUX_EXT2_FS_H
436 /* Define if you have the <locale.h> header file. */
439 /* Define if you have the <malloc.h> header file. */
442 /* Define if you have the <memory.h> header file. */
445 /* Define if you have the <mntent.h> header file. */
448 /* Define if you have the <mnttab.h> header file. */
451 /* Define if you have the <ndir.h> header file. */
454 /* Define if you have the <nl_types.h> header file. */
455 #undef HAVE_NL_TYPES_H
457 /* Define if you have the <rpc/pmap_clnt.h> header file. */
458 #undef HAVE_RPC_PMAP_CLNT_H
460 /* Define if you have the <shadow.h> header file. */
463 /* Define if you have the <shadow/shadow.h> header file. */
464 #undef HAVE_SHADOW_SHADOW_H
466 /* Define if you have the <slang.h> header file. */
469 /* Define if you have the <slang/slang.h> header file. */
470 #undef HAVE_SLANG_SLANG_H
472 /* Define if you have the <stdlib.h> header file. */
475 /* Define if you have the <string.h> header file. */
478 /* Define if you have the <sys/dir.h> header file. */
479 #undef HAVE_SYS_DIR_H
481 /* Define if you have the <sys/dustat.h> header file. */
482 #undef HAVE_SYS_DUSTAT_H
484 /* Define if you have the <sys/filsys.h> header file. */
485 #undef HAVE_SYS_FILSYS_H
487 /* Define if you have the <sys/fs_types.h> header file. */
488 #undef HAVE_SYS_FS_TYPES_H
490 /* Define if you have the <sys/fstyp.h> header file. */
491 #undef HAVE_SYS_FSTYP_H
493 /* Define if you have the <sys/mount.h> header file. */
494 #undef HAVE_SYS_MOUNT_H
496 /* Define if you have the <sys/ndir.h> header file. */
497 #undef HAVE_SYS_NDIR_H
499 /* Define if you have the <sys/param.h> header file. */
500 #undef HAVE_SYS_PARAM_H
502 /* Define if you have the <sys/select.h> header file. */
503 #undef HAVE_SYS_SELECT_H
505 /* Define if you have the <sys/statfs.h> header file. */
506 #undef HAVE_SYS_STATFS_H
508 /* Define if you have the <sys/statvfs.h> header file. */
509 #undef HAVE_SYS_STATVFS_H
511 /* Define if you have the <sys/vfs.h> header file. */
512 #undef HAVE_SYS_VFS_H
514 /* Define if you have the <termios.h> header file. */
515 #undef HAVE_TERMIOS_H
517 /* Define if you have the <unistd.h> header file. */
520 /* Define if you have the <utime.h> header file. */
523 /* Define if you have the <values.h> header file. */
526 /* Define if you have the i library (-li). */
529 /* Define if you have the intl library (-lintl). */
532 /* Define if you have the nsl library (-lnsl). */
535 /* Define if you have the pt library (-lpt). */
538 /* Define if you have the socket library (-lsocket). */
539 #undef HAVE_LIBSOCKET
542 # define HAVE_GRANTPT
545 #if defined(HAVE_LIBCRYPT) || defined(HAVE_LIBCRYPT_I)
553 #if defined(HAVE_SIGADDSET) && defined(HAVE_SIGEMPTYSET)
554 # if defined(HAVE_SIGACTION) && defined(HAVE_SIGPROCMASK)
555 # define SLANG_POSIX_SIGNALS
561 # define S_ISFIFO(x) 0
569 /* some Unices do not define this, and slang requires it: */