config.h 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. /*
  2. * ngIRCd -- The Next Generation IRC Daemon
  3. * Copyright (c)2001-2013 Alexander Barton (alex@barton.de) and Contributors.
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or
  8. * (at your option) any later version.
  9. * Please read the file COPYING, README and AUTHORS for more information.
  10. *
  11. * Static configuration file for Mac OS X Xcode project
  12. */
  13. #define PACKAGE_NAME "ngIRCd"
  14. # define PACKAGE "ngircd"
  15. #ifndef VERSION
  16. # define VERSION "??("__DATE__")"
  17. #endif
  18. #ifndef HOST_VENDOR
  19. # define HOST_VENDOR "apple"
  20. # define HOST_OS "darwin"
  21. # ifdef __x86_64
  22. # define HOST_CPU "x86_64"
  23. # endif
  24. #endif
  25. #define SYSCONFDIR "/etc/ngircd"
  26. #define DOCDIR "/usr/share/doc/ngircd"
  27. /* -- Build options -- */
  28. /* Define if debug-mode should be enabled */
  29. #define DEBUG 1
  30. /* Define if the server should do IDENT requests */
  31. /*#define IDENTAUTH 1*/
  32. /* Define if IRC+ protocol should be used */
  33. #define IRCPLUS 1
  34. /* Define if IRC sniffer should be enabled */
  35. /*#define SNIFFER 1*/
  36. /* Define if syslog should be used for logging */
  37. #define SYSLOG 1
  38. /* Define if TCP wrappers should be used */
  39. /*#define TCPWRAP 1*/
  40. /* Define if zlib compression should be enabled */
  41. #define ZLIB 1
  42. /* Define if IPV6 protocol should be enabled */
  43. #define WANT_IPV6 1
  44. /* Define if PAM should be used */
  45. #define PAM 1
  46. /* Define if libiconv can be used, e.g. for CHARCONV */
  47. #define ICONV 1
  48. /* -- Supported features -- */
  49. /* Define if SSP C support is enabled. */
  50. #define ENABLE_SSP_CC 1
  51. /* Define to 1 if the C compiler supports function prototypes. */
  52. #define PROTOTYPES 1
  53. /* Define like PROTOTYPES; this can be used by system headers. */
  54. #define __PROTOTYPES 1
  55. /* Define to 1 if you have the <sys/types.h> header file. */
  56. #define HAVE_SYS_TYPES_H 1
  57. /* Define to 1 if you have the <inttypes.h> header file. */
  58. #define HAVE_INTTYPES_H 1
  59. /* Define to 1 if you have the <stddef.h> header file. */
  60. #define HAVE_STDDEF_H 1
  61. /* Define to 1 if you have the <stdbool.h> header file. */
  62. #define HAVE_STDBOOL_H 1
  63. /* Define to 1 if you have the <arpa/inet.h> header file. */
  64. #define HAVE_ARPA_INET_H 1
  65. /* Define to 1 if you have the <netinet/ip.h> header file. */
  66. #define HAVE_NETINET_IP_H 1
  67. /* Define to 1 if you have the `gai_strerror' function. */
  68. #define HAVE_GAI_STRERROR 1
  69. /* Define to 1 if you have the `iconv_open' function. */
  70. #define HAVE_ICONV_OPEN 1
  71. /* Define to 1 if you have the `kqueue' function. */
  72. #define HAVE_KQUEUE 1
  73. /* Define to 1 if you have the `inet_ntoa' function. */
  74. #define HAVE_INET_NTOA 1
  75. /* Define to 1 if you have the `snprintf' function. */
  76. #define HAVE_SNPRINTF 1
  77. /* Define to 1 if you have the `strlcat' function. */
  78. #define HAVE_STRLCAT 1
  79. /* Define to 1 if you have the `strlcpy' function. */
  80. #define HAVE_STRLCPY 1
  81. /* Define to 1 if you have the `strdup' function. */
  82. #define HAVE_STRDUP 1
  83. /* Define to 1 if you have the `vsnprintf' function. */
  84. #define HAVE_VSNPRINTF 1
  85. /* Define to 1 if you have the `inet_aton' function. */
  86. #define HAVE_INET_ATON 1
  87. /* Define to 1 if you have the `getaddrinfo' function. */
  88. #define HAVE_GETADDRINFO 1
  89. /* getaddrinfo(0) */
  90. #define HAVE_WORKING_GETADDRINFO 1
  91. /* Define to 1 if you have the `getnameinfo' function. */
  92. #define HAVE_GETNAMEINFO 1
  93. /* Define to 1 if you have the `sigaction' function. */
  94. #define HAVE_SIGACTION 1
  95. /* Define to 1 if you have the `setsid' function. */
  96. #define HAVE_SETSID 1
  97. /* Define to 1 if you have the `strsignal' function. */
  98. #define HAVE_STRSIGNAL 1
  99. /* Define if socklen_t exists */
  100. #define HAVE_socklen_t 1
  101. #ifdef PAM
  102. /* Define to 1 if you have the `pam_authenticate' function. */
  103. #define HAVE_PAM_AUTHENTICATE 1
  104. #if (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060)
  105. /* Define to 1 if you have the <pam/pam_appl.h> header file. */
  106. #define HAVE_PAM_PAM_APPL_H 1
  107. /* Mac OS X <10.6 doesn't have pam_fail_delay() */
  108. #define NO_PAM_FAIL_DELAY 1
  109. #else
  110. /* Define to 1 if you have the <security/pam_appl.h> header file. */
  111. #define HAVE_SECURITY_PAM_APPL_H 1
  112. #endif
  113. #endif
  114. /* -eof- */