backport of r1481955.
Reviewed by: minfrin, humbedooh
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1486262 13f79535-47bb-0310-9956-
ffa450edef68
2.4.x patch: trunk patch works (minus CHANGES)
+1: minfrin, jim, jorton
- * ap_release.h: Make AP_SERVER_ADD_STRING define-able from CFLAGS.
- trunk patch: http://svn.apache.org/r1481955
- 2.4.x patch: trunk works (with fuzz)
- +1: fuankg, minfrin, humbedooh
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
#define AP_SERVER_MINORVERSION_NUMBER 4
#define AP_SERVER_PATCHLEVEL_NUMBER 5
#define AP_SERVER_DEVBUILD_BOOLEAN 1
-#define AP_SERVER_ADD_STRING "-dev"
/* Synchronize the above with docs/manual/style/version.ent */
#if !AP_SERVER_DEVBUILD_BOOLEAN
-#undef AP_SERVER_ADD_STRING
#define AP_SERVER_ADD_STRING ""
+#else
+#ifndef AP_SERVER_ADD_STRING
+#define AP_SERVER_ADD_STRING "-dev"
+#endif
#endif
/* keep old macros as well */