configure.ac: Support version strings like W.X.Y.Z-XXXXXX
(cherry picked from commit 43967514cd57ad836d7fb85c8c9e58ada07e0232)
This commit is contained in:
parent
67faf41b3f
commit
344b1f2b25
|
@ -410,7 +410,7 @@ XORG_RELEASE_VERSION
|
||||||
dnl augment XORG_RELEASE_VERSION for our snapshot number and to expose the
|
dnl augment XORG_RELEASE_VERSION for our snapshot number and to expose the
|
||||||
dnl major number
|
dnl major number
|
||||||
PVMAJOR=`echo $PACKAGE_VERSION | cut -d . -f 1`
|
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
|
if test "x$PVS" = "x"; then
|
||||||
PVS="0"
|
PVS="0"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue