extraconf.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. there is a conflict between them.
  7. 2) define symbols that fully depend 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. #ifndef NATIVE_WIN32
  22. /* some Unices do not define this, and slang requires it: */
  23. #ifndef unix
  24. # define unix
  25. #endif
  26. #endif
  27. #ifndef USE_VFS
  28. # undef USE_NETCODE
  29. # undef USE_EXT2FSLIB
  30. #endif
  31. #ifdef HAVE_SOCKETPAIR
  32. # define WITH_BACKGROUND
  33. #endif
  34. #if defined (__QNX__) && !defined(__QNXNTO__) && !defined (HAVE_INFOMOUNT_LIST)
  35. # define HAVE_INFOMOUNT_QNX
  36. #endif
  37. #if defined(HAVE_INFOMOUNT_LIST) || defined(HAVE_INFOMOUNT_QNX)
  38. # define HAVE_INFOMOUNT
  39. #endif