*** empty log message ***
[midnight-commander.git] / extraconf.h
blob0f986f45b2c43a3a94bfa494ab174e0a6fd0887b
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 _OS_NT
29 # define OS2_NT 1
30 #endif
32 #ifndef OS2_NT
33 /* some Unices do not define this, and slang requires it: */
34 #ifndef unix
35 # define unix
36 #endif
37 #endif
39 #ifndef USE_VFS
40 # undef USE_NETCODE
41 # undef USE_EXT2FSLIB
42 #endif
44 #ifdef HAVE_SOCKETPAIR
45 # define WITH_BACKGROUND
46 #endif
48 #if defined (__QNX__) && !defined(__QNXNTO__) && !defined (HAVE_INFOMOUNT_LIST)
49 # define HAVE_INFOMOUNT_QNX
50 #endif
52 #if defined(HAVE_INFOMOUNT_LIST) || defined(HAVE_INFOMOUNT_QNX)
53 # define HAVE_INFOMOUNT
54 #endif