configure.ac: Support version strings like W.X.Y.Z-XXXXXX

(cherry picked from commit 43967514cd)

Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Jeremy Huddleston 2009-02-17 23:25:14 -08:00 committed by Keith Packard
parent 8e16e64f55
commit d050a61747

View file

@ -409,7 +409,7 @@ XORG_RELEASE_VERSION
dnl augment XORG_RELEASE_VERSION for our snapshot number and to expose the
dnl major number
PVMAJOR=`echo $PACKAGE_VERSION | cut -d . -f 1`
PVS=`echo $PACKAGE_VERSION | cut -d . -f 4`
PVS=`echo $PACKAGE_VERSION | cut -d . -f 4 | cut -d - -f 1`
if test "x$PVS" = "x"; then
PVS="0"
fi