diff --git a/configure.sh b/configure.sh
index a1889087ecb66c60a4e8616e9723208bd72e5108..bf72938cdb55d2ea4831ff8ba270236e1f7c4bfa 100755
--- a/configure.sh
+++ b/configure.sh
@@ -5,11 +5,14 @@
 
 if [ -z "$CC" ]; then
     if [ -f '/usr/bin/clang-3.9' ]; then
-        export CC='/usr/bin/clang-3.9'
-        export CXX='/usr/bin/clang++-3.9'
-    elif [ -f '/usr/bin/clang-3.8' ]; then
-        export CC='/usr/bin/clang-3.8'
-        export CXX='/usr/bin/clang++-3.8'
+        if [ -f '/usr/bin/clang-3.8' ]; then
+            export CC='/usr/bin/clang-3.8'
+            export CXX='/usr/bin/clang++-3.8'
+        else
+            echo "Clang 3.9 is not supported, please install Clang 3.8" >&2
+            echo "Aborting configration" >&2
+            exit 2
+        fi
     else
         # Check CC is version 4 or 5
         VERSION=$(/usr/bin/cc --version | head -1 | cut -d' ' -f4)