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-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=512cf4e0c1b248be8c2e22b21868515d36c954b3;p=thirdparty%2Fapache%2Fhttpd.git 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 d5f01db89d1..089c1420127 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 */