diff options
author | Jeremy Huddleston <jeremy@yuffie.local> | 2009-02-17 23:25:14 -0800 |
---|---|---|
committer | Jeremy Huddleston <jeremy@yuffie.local> | 2009-02-17 23:27:08 -0800 |
commit | 344b1f2b25d627bdf7d802c5831b6a72d22ffe34 (patch) | |
tree | 35223ad4ab7bc9a40642434966db7482030db46c | |
parent | 67faf41b3f3e0cd66e35e3c176a9adb37ff1a759 (diff) |
configure.ac: Support version strings like W.X.Y.Z-XXXXXX
(cherry picked from commit 43967514cd57ad836d7fb85c8c9e58ada07e0232)
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index aede4b32b..affbea07b 100644 --- a/configure.ac +++ b/configure.ac @@ -410,7 +410,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 |