]> git.lizzy.rs Git - rust.git/commitdiff
Add support for Ubuntu named clang packages.
authorWilliam Ting <william.h.ting@gmail.com>
Fri, 11 Jan 2013 07:26:46 +0000 (01:26 -0600)
committerTim Chevalier <chevalier@alum.wellesley.edu>
Tue, 29 Jan 2013 05:54:11 +0000 (21:54 -0800)
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.

configure

index f466f0fa3d7bc34de864473979083387918cdc77..4cbd4eb1832790ce26345460a16d6c28317c8517 100755 (executable)
--- 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"
         ;;