mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 21:50:15 +01:00
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:
parent
8e16e64f55
commit
d050a61747
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue