about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Ting <william.h.ting@gmail.com>2013-01-11 01:26:46 -0600
committerTim Chevalier <chevalier@alum.wellesley.edu>2013-01-28 21:54:11 -0800
commitbb51a8442fb16d71faccac1abfa953d8b1e37cb7 (patch)
treed64e5656331a23b44143296a40ae0c85835169c5
parentfc9650b1467a7388e60838ddbeb1755d5fe149b5 (diff)
downloadrust-bb51a8442fb16d71faccac1abfa953d8b1e37cb7.tar.gz
rust-bb51a8442fb16d71faccac1abfa953d8b1e37cb7.zip
Add support for Ubuntu named clang packages.
Ubuntu's clang packages have additional information appended to the end of
the version.

- Building Rust v0.5 with clang v3.0-6ubuntu3 fails.
- Building Rust v0.5 and incoming with clang v3.1-5ppa (backported from Debian)
works.

Closes #4441.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index f466f0fa3d7..4cbd4eb1832 100755
--- a/configure
+++ b/configure
@@ -516,7 +516,7 @@ then
                       | cut -d ' ' -f 2)
 
     case $CFG_CLANG_VERSION in
-        (3.0svn | 3.0 | 3.1 | 3.2 | 4.0 | 4.1)
+        (3.0svn | 3.0 | 3.1* | 3.2* | 4.0* | 4.1*)
         step_msg "found ok version of CLANG: $CFG_CLANG_VERSION"
         CFG_C_COMPILER="clang"
         ;;