summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorSimon Howard2013-10-12 19:13:35 +0000
committerSimon Howard2013-10-12 19:13:35 +0000
commit5c02df23669063ca28bbfc64e0519216ab7fe1ca (patch)
tree61b44a4c5b2dfeaebd0d9e153a1eeea5d3db31af /configure.in
parent4cd5d5027acbfc91a3f546389804e9de4fe6269d (diff)
downloadchocolate-doom-5c02df23669063ca28bbfc64e0519216ab7fe1ca.tar.gz
chocolate-doom-5c02df23669063ca28bbfc64e0519216ab7fe1ca.tar.bz2
chocolate-doom-5c02df23669063ca28bbfc64e0519216ab7fe1ca.zip
Update generation of Windows RC version to properly handle -xxx
extensions to version numbers. Subversion-branch: /branches/v2-branch Subversion-revision: 2705
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 31e530a5..72664306 100644
--- a/configure.in
+++ b/configure.in
@@ -98,7 +98,7 @@ dnl Automake v1.8.0 is required, please upgrade!
AM_INIT_AUTOMAKE([1.8.0])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
-WINDOWS_RC_VERSION=`echo $PACKAGE_VERSION.0 | sed 's/\./, /g' `
+WINDOWS_RC_VERSION=`echo $PACKAGE_VERSION | sed 's/-.*//; s/\./, /g; s/$/, 0/'`
# This controls the prefix added to the start of program names. For example,
# if this is changed to "lemon-", the programs generated will be named