extraconf.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. This file is included directly from config.h.
  3. Don't include it from any other files.
  4. The only code that belongs here is preprocessor directives that:
  5. 1) change the configuration setting defined in config.h if they
  6. are inappropriate for the edition being compiled.
  7. 2) define symbols fully dependendent on those in config.h to eliminate
  8. the need to embed this logic into configure.in.
  9. */
  10. #ifdef HAVE_LIBPT
  11. # define HAVE_GRANTPT
  12. #endif
  13. #if defined(HAVE_LIBCRYPT) || defined(HAVE_LIBCRYPT_I)
  14. # define HAVE_CRYPT
  15. #endif
  16. #if defined(HAVE_SIGADDSET) && defined(HAVE_SIGEMPTYSET)
  17. # if defined(HAVE_SIGACTION) && defined(HAVE_SIGPROCMASK)
  18. # define SLANG_POSIX_SIGNALS
  19. # endif
  20. #endif
  21. #ifdef _OS_NT
  22. # define OS2_NT 1
  23. #endif
  24. #ifndef OS2_NT
  25. /* some Unices do not define this, and slang requires it: */
  26. #ifndef unix
  27. # define unix
  28. #endif
  29. #endif
  30. #ifndef USE_VFS
  31. # undef USE_NETCODE
  32. # undef USE_EXT2FSLIB
  33. #endif
  34. #ifdef HAVE_SOCKETPAIR
  35. # define WITH_BACKGROUND
  36. #endif
  37. #if defined (__QNX__) && !defined(__QNXNTO__) && !defined (HAVE_INFOMOUNT_LIST)
  38. # define HAVE_INFOMOUNT_QNX
  39. #endif
  40. #if defined(HAVE_INFOMOUNT_LIST) || defined(HAVE_INFOMOUNT_QNX)
  41. # define HAVE_INFOMOUNT
  42. #endif