summaryrefslogtreecommitdiffstats
path: root/include/ap_release.h
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2013-05-13 18:30:04 +0200
committerGuenter Knauf <fuankg@apache.org>2013-05-13 18:30:04 +0200
commit969e215ccae8d47bb54951706f431d2f4c674ee1 (patch)
tree8f8d0f5fc9e5f19a714198281fe89e16e547b342 /include/ap_release.h
parentmod_proxy: Ensure we don't attempt to amend a table we are iterating (diff)
downloadapache2-969e215ccae8d47bb54951706f431d2f4c674ee1.tar.xz
apache2-969e215ccae8d47bb54951706f431d2f4c674ee1.zip
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
Diffstat (limited to 'include/ap_release.h')
-rw-r--r--include/ap_release.h6
1 files 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 */