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:25:14 -0800 |
commit | 43967514cd57ad836d7fb85c8c9e58ada07e0232 (patch) | |
tree | 5c435ca6e075e19f22cbe50a7cd715722ba25c7c | |
parent | 066b17028a35956a089815716e38571f305469c5 (diff) |
configure.ac: Support version strings like W.X.Y.Z-XXXXXX
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 3946ff32c..f08bf633d 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -411,7 +411,7 @@ XORG_RELEASE_VERSION | |||
411 | dnl augment XORG_RELEASE_VERSION for our snapshot number and to expose the | 411 | dnl augment XORG_RELEASE_VERSION for our snapshot number and to expose the |
412 | dnl major number | 412 | dnl major number |
413 | PVMAJOR=`echo $PACKAGE_VERSION | cut -d . -f 1` | 413 | PVMAJOR=`echo $PACKAGE_VERSION | cut -d . -f 1` |
414 | PVS=`echo $PACKAGE_VERSION | cut -d . -f 4` | 414 | PVS=`echo $PACKAGE_VERSION | cut -d . -f 4 | cut -d - -f 1` |
415 | if test "x$PVS" = "x"; then | 415 | if test "x$PVS" = "x"; then |
416 | PVS="0" | 416 | PVS="0" |
417 | fi | 417 | fi |