ChipMaster's trial hacks on C++CMS starting with v1.2.1. Not sure I'll follow on with the v2 since it looks to be breaking and mostly frivolous.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

141 lines
3.5 KiB

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (C) 2008-2010 Artyom Beilis (Tonkikh) <artyomtnk@yahoo.com>
  4. //
  5. // This program is free software: you can redistribute it and/or modify
  6. // it under the terms of the GNU Lesser General Public License as published by
  7. // the Free Software Foundation, either version 3 of the License, or
  8. // (at your option) any later version.
  9. //
  10. // This program is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. // GNU Lesser General Public License for more details.
  14. //
  15. // You should have received a copy of the GNU Lesser General Public License
  16. // along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. //
  18. ///////////////////////////////////////////////////////////////////////////////
  19. #ifndef CPPCMS_CONFIG_H
  20. #define CPPCMS_CONFIG_H
  21. /* Have stdint.h */
  22. #cmakedefine HAVE_STDINT_H
  23. /* Have _atol64 */
  24. #cmakedefine HAVE_ATOI64
  25. /* Have atoll */
  26. #cmakedefine HAVE_ATOLL
  27. #if !defined(HAVE_ATOLL) && defined(HAVE_ATOI64)
  28. #define atoll _atoi64
  29. #endif
  30. /* Have stat */
  31. #cmakedefine HAVE_STAT
  32. /* Have _stat */
  33. #cmakedefine HAVE__STAT
  34. /* Have gmtime_r */
  35. #cmakedefine HAVE_GMTIME_R
  36. /* Have localtime_r */
  37. #cmakedefine HAVE_LOCALTIME_R
  38. /* Have strerror_r */
  39. #cmakedefine HAVE_STRERROR_R
  40. /* Have tm.tm_zone */
  41. #cmakedefine HAVE_BSD_TM
  42. /* Have snprintf */
  43. #cmakedefine HAVE_SNPRINTF
  44. /* Have inttypes.h */
  45. #cmakedefine HAVE_INTTYPES_H
  46. /* "Have C++0x std::uXXstring" */
  47. #cmakedefine HAVE_CPP0X_UXSTRING
  48. #ifdef HAVE_CPP0X_UXSTRING
  49. # define CPPCMS_HAS_CHAR16_T
  50. # define CPPCMS_HAS_CHAR32_T
  51. #endif
  52. /* "Have C++0x auto" */
  53. #cmakedefine HAVE_CPP_0X_AUTO
  54. /* "Have C++0x decltype" */
  55. #cmakedefine HAVE_CPP_0X_DECLTYPE
  56. /* "Have g++ typeof" */
  57. #cmakedefine HAVE_GCC_TYPEOF
  58. /* "Enable ICU support" */
  59. #cmakedefine HAVE_ICU
  60. /* Use STD locales instead of ICU ones */
  61. #cmakedefine CPPCMS_DISABLE_ICU_LOCALIZATION
  62. /* "Enable ICONV support" */
  63. #cmakedefine HAVE_ICONV
  64. /* "Enable GNU GCrypt library */
  65. #cmakedefine HAVE_GCRYPT
  66. /* "Have std::wstring" */
  67. #cmakedefine HAVE_STD_WSTRING
  68. #ifndef HAVE_STD_WSTRING
  69. # define CPPCMS_NO_STD_WSTRING
  70. #endif
  71. /* Have canonicalize_file_name */
  72. #cmakedefine HAVE_CANONICALIZE_FILE_NAME
  73. /* "Have Atomic operations:" */
  74. #cmakedefine HAVE_SYNC_FETCH_AND_ADD
  75. #cmakedefine HAVE_GCC_BITS_EXCHANGE_AND_ADD
  76. #cmakedefine HAVE_GCC_EXT_EXCHANGE_AND_ADD
  77. #cmakedefine HAVE_FREEBSD_ATOMIC
  78. #cmakedefine HAVE_SOLARIS_ATOMIC
  79. #cmakedefine HAVE_MAC_OS_X_ATOMIC
  80. #cmakedefine HAVE_WIN32_INTERLOCKED
  81. /* "Have g++ typeof" */
  82. #cmakedefine HAVE_UNDERSCORE_TYPEOF
  83. /* Define to the full name of this package. */
  84. #cmakedefine PACKAGE_NAME "${PACKAGE_NAME}"
  85. /* Define to the full name and version of this package. */
  86. #cmakedefine PACKAGE_STRING "${PACKAGE_STRING}"
  87. /* Define to the version of this package. */
  88. #cmakedefine PACKAGE_VERSION "${PACKAGE_VERSION}"
  89. /* Define to module suffix. */
  90. #cmakedefine CPPCMS_LIBRARY_SUFFIX "${CPPCMS_LIBRARY_SUFFIX}"
  91. /* Define to module suffix. */
  92. #cmakedefine CPPCMS_LIBRARY_PREFIX "${CPPCMS_LIBRARY_PREFIX}"
  93. #cmakedefine CPPCMS_USE_EXTERNAL_BOOST
  94. #cmakedefine CPPCMS_HAS_FCGI
  95. #cmakedefine CPPCMS_HAS_SCGI
  96. #cmakedefine CPPCMS_HAS_HTTP
  97. /* Version number of package */
  98. #define VERSION PACKAGE_VERSION
  99. #endif