Codepage messages related translated & other stuff...
[midnight-commander.git] / extraconf.h
blob257a8f4c1385884722b0790c59dd57669116f00c
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 #ifdef HAVE_X
57 # undef HAVE_SUBSHELL_SUPPORT
58 # undef HAVE_SLANG
59 # undef HAS_CURSES
60 # undef USE_NCURSES
61 # undef HAVE_CHARSET
62 # undef HAVE_TEXTMODE_X11_SUPPORT
63 #endif
65 #ifndef USE_VFS
66 # undef USE_NETCODE
67 # undef USE_EXT2FSLIB
68 #endif