Update.
[midnight-commander.git] / extraconf.h
blob094921531f2c448bf2e77f510684d2dd4a519cf5
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 there is a conflict between them.
10 2) define symbols that fully depend 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 #ifndef NATIVE_WIN32
29 /* some Unices do not define this, and slang requires it: */
30 #ifndef unix
31 # define unix
32 #endif
33 #endif
35 #ifndef USE_VFS
36 # undef USE_NETCODE
37 # undef USE_EXT2FSLIB
38 #endif
40 #ifdef HAVE_SOCKETPAIR
41 # define WITH_BACKGROUND
42 #endif
44 #if defined (__QNX__) && !defined(__QNXNTO__) && !defined (HAVE_INFOMOUNT_LIST)
45 # define HAVE_INFOMOUNT_QNX
46 #endif
48 #if defined(HAVE_INFOMOUNT_LIST) || defined(HAVE_INFOMOUNT_QNX)
49 # define HAVE_INFOMOUNT
50 #endif