From: Guenter Knauf Date: Mon, 13 May 2013 16:30:04 +0000 (+0000) Subject: Make AP_SERVER_ADD_STRING define-able from CFLAGS. X-Git-Tag: 2.5.0-alpha~5462 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=969e215ccae8d47bb54951706f431d2f4c674ee1;p=apache Make AP_SERVER_ADD_STRING define-able from CFLAGS. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1481955 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/ap_release.h b/include/ap_release.h index d5f01db89d..089c142012 100644 --- a/include/ap_release.h +++ b/include/ap_release.h @@ -47,13 +47,15 @@ #define AP_SERVER_MINORVERSION_NUMBER 5 #define AP_SERVER_PATCHLEVEL_NUMBER 0 #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 */