ap_release.inc 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. { Licensed to the Apache Software Foundation (ASF) under one or more
  2. * contributor license agreements. See the NOTICE file distributed with
  3. * this work for additional information regarding copyright ownership.
  4. * The ASF licenses this file to You under the Apache License, Version 2.0
  5. * (the "License"); you may not use this file except in compliance with
  6. * the License. You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. }
  16. //#include "apr_general.h" /* stringify */
  17. const
  18. AP_SERVER_COPYRIGHT =
  19. 'Copyright 2006 The Apache Software Foundation.';
  20. {
  21. * The below defines the base string of the Server: header. Additional
  22. * tokens can be added via the ap_add_version_component() API call.
  23. *
  24. * The tokens are listed in order of their significance for identifying the
  25. * application.
  26. *
  27. * "Product tokens should be short and to the point -- use of them for
  28. * advertizing or other non-essential information is explicitly forbidden."
  29. *
  30. * Example: "Apache/1.1.0 MrWidget/0.1-alpha"
  31. }
  32. AP_SERVER_BASEVENDOR = 'Apache Software Foundation';
  33. AP_SERVER_BASEPROJECT = 'Apache HTTP Server';
  34. AP_SERVER_BASEPRODUCT = 'Apache';
  35. AP_SERVER_MAJORVERSION_NUMBER = 2;
  36. AP_SERVER_MINORVERSION_NUMBER = 2;
  37. AP_SERVER_PATCHLEVEL_NUMBER = 3;
  38. AP_SERVER_DEVBUILD_BOOLEAN = 0;
  39. {$ifdef AP_SERVER_DEVBUILD_BOOLEAN}
  40. AP_SERVER_ADD_STRING = '-dev';
  41. {$else}
  42. AP_SERVER_ADD_STRING = '';
  43. {$endif}
  44. { keep old macros as well }
  45. {#define AP_SERVER_MAJORVERSION APR_STRINGIFY(AP_SERVER_MAJORVERSION_NUMBER)
  46. #define AP_SERVER_MINORVERSION APR_STRINGIFY(AP_SERVER_MINORVERSION_NUMBER)
  47. #define AP_SERVER_PATCHLEVEL APR_STRINGIFY(AP_SERVER_PATCHLEVEL_NUMBER) \
  48. AP_SERVER_ADD_STRING
  49. #define AP_SERVER_MINORREVISION AP_SERVER_MAJORVERSION "." AP_SERVER_MINORVERSION
  50. #define AP_SERVER_BASEREVISION AP_SERVER_MINORREVISION "." AP_SERVER_PATCHLEVEL
  51. #define AP_SERVER_BASEVERSION AP_SERVER_BASEPRODUCT "/" AP_SERVER_BASEREVISION
  52. #define AP_SERVER_VERSION AP_SERVER_BASEVERSION
  53. /* macro for Win32 .rc files using numeric csv representation */
  54. #define AP_SERVER_PATCHLEVEL_CSV AP_SERVER_MAJORVERSION_NUMBER ##, \
  55. ##AP_SERVER_MINORVERSION_NUMBER ##, \
  56. ##AP_SERVER_PATCHLEVEL_NUMBER
  57. }