2001-05-29 09:04:58 +04:00
|
|
|
/*
|
|
|
|
This file is included directly from config.h.
|
|
|
|
Don't include it from any other files.
|
|
|
|
|
|
|
|
The only code that belongs here is preprocessor directives that:
|
|
|
|
|
|
|
|
1) change the configuration setting defined in config.h if they
|
2002-09-13 01:55:47 +04:00
|
|
|
there is a conflict between them.
|
2001-05-29 09:04:58 +04:00
|
|
|
|
2002-09-13 01:55:47 +04:00
|
|
|
2) define symbols that fully depend on those in config.h to eliminate
|
2001-05-29 09:04:58 +04:00
|
|
|
the need to embed this logic into configure.in.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef HAVE_LIBPT
|
|
|
|
# define HAVE_GRANTPT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(HAVE_LIBCRYPT) || defined(HAVE_LIBCRYPT_I)
|
|
|
|
# define HAVE_CRYPT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(HAVE_SIGADDSET) && defined(HAVE_SIGEMPTYSET)
|
|
|
|
# if defined(HAVE_SIGACTION) && defined(HAVE_SIGPROCMASK)
|
|
|
|
# define SLANG_POSIX_SIGNALS
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2002-09-11 02:04:11 +04:00
|
|
|
#ifndef NATIVE_WIN32
|
2001-05-29 09:04:58 +04:00
|
|
|
/* some Unices do not define this, and slang requires it: */
|
|
|
|
#ifndef unix
|
|
|
|
# define unix
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2001-05-30 03:43:05 +04:00
|
|
|
#ifndef USE_VFS
|
|
|
|
# undef USE_NETCODE
|
|
|
|
# undef USE_EXT2FSLIB
|
|
|
|
#endif
|
|
|
|
|
2001-08-25 07:14:20 +04:00
|
|
|
#ifdef HAVE_SOCKETPAIR
|
2001-07-28 00:34:04 +04:00
|
|
|
# define WITH_BACKGROUND
|
|
|
|
#endif
|
|
|
|
|
2001-06-23 07:24:34 +04:00
|
|
|
#if defined (__QNX__) && !defined(__QNXNTO__) && !defined (HAVE_INFOMOUNT_LIST)
|
2001-06-22 20:47:39 +04:00
|
|
|
# define HAVE_INFOMOUNT_QNX
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(HAVE_INFOMOUNT_LIST) || defined(HAVE_INFOMOUNT_QNX)
|
|
|
|
# define HAVE_INFOMOUNT
|
|
|
|
#endif
|