Gosh, some little cosmetics here...
[midnight-commander.git] / extraconf.h
blobe7a7a1bca224ca6672bced000891746dc699685f
1 /*
2 This file is included directly from config.h.
3 Don't include it from any other files.
5 The only code that belongs here is preprocessor directives that:
7 1) change the configuration setting defined in config.h if they
8 are inappropriate for the edition being compiled.
10 2) define symbols fully dependendent on those in config.h to eliminate
11 the need to embed this logic into configure.in.
14 #ifdef HAVE_LIBPT
15 # define HAVE_GRANTPT
16 #endif
18 #if defined(HAVE_LIBCRYPT) || defined(HAVE_LIBCRYPT_I)
19 # define HAVE_CRYPT
20 #endif
22 #if defined(HAVE_SIGADDSET) && defined(HAVE_SIGEMPTYSET)
23 # if defined(HAVE_SIGACTION) && defined(HAVE_SIGPROCMASK)
24 # define SLANG_POSIX_SIGNALS
25 # endif
26 #endif
28 #ifdef __os2__
29 # define OS2_NT 1
30 # define S_ISFIFO(x) 0
32 # define NEEDS_IO_H
33 # define NEEDS_DRIVE_H
34 # define NEEDS_FCNTL_H
35 # define HAS_NO_GRP_PWD_H
36 # define HAS_NO_TERMIOS_H
37 # define HAS_NO_SYS_PARAM_H
38 # define HAS_NO_SYS_IOCTL_H
40 # define USE_O_TEXT
41 # define HAS_ACS_AS_PCCHARS
42 # define NEEDS_CR_LF_TRANSLATION
43 #endif
45 #ifdef _OS_NT
46 # define OS2_NT 1
47 #endif
49 #ifndef OS2_NT
50 /* some Unices do not define this, and slang requires it: */
51 #ifndef unix
52 # define unix
53 #endif
54 #endif
56 #ifndef USE_VFS
57 # undef USE_NETCODE
58 # undef USE_EXT2FSLIB
59 #endif
61 #ifdef HAVE_SOCKETPAIR
62 # define WITH_BACKGROUND
63 #endif
65 #if defined (__QNX__) && !defined(__QNXNTO__) && !defined (HAVE_INFOMOUNT_LIST)
66 # define HAVE_INFOMOUNT_QNX
67 #endif
69 #if defined(HAVE_INFOMOUNT_LIST) || defined(HAVE_INFOMOUNT_QNX)
70 # define HAVE_INFOMOUNT
71 #endif