From d783ca972abee9702e6abf31f13188fc59d7d32d Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 24 Jun 2010 22:33:49 +0000 Subject: Disable addition of "SCUMMVM_SVN_REVISION" to the version string, in case --enable-release was specified on configure run. svn-id: r50246 --- base/internal_version.h | 4 ++++ base/internal_version.h.in | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'base') diff --git a/base/internal_version.h b/base/internal_version.h index bdd0474c2b..533348ace4 100644 --- a/base/internal_version.h +++ b/base/internal_version.h @@ -2,4 +2,8 @@ #define SCUMMVM_SVN_REVISION #endif +#ifdef RELEASE_BUILD +#undef SCUMMVM_SVN_REVISION +#endif + #define SCUMMVM_VERSION "1.2.0svn" SCUMMVM_SVN_REVISION diff --git a/base/internal_version.h.in b/base/internal_version.h.in index 1b7e5ed147..0199b67d5c 100644 --- a/base/internal_version.h.in +++ b/base/internal_version.h.in @@ -2,4 +2,8 @@ #define SCUMMVM_SVN_REVISION #endif +#ifdef RELEASE_BUILD +#undef SCUMMVM_SVN_REVISION +#endif + #define SCUMMVM_VERSION "@VERSION@" SCUMMVM_SVN_REVISION -- cgit v1.2.3