From 969e215ccae8d47bb54951706f431d2f4c674ee1 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Mon, 13 May 2013 16:30:04 +0000 Subject: [PATCH] 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 --- include/ap_release.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 */ -- 2.40.0