about summary refs log tree commit diff homepage
path: root/autoconf/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'autoconf/configure.ac')
-rw-r--r--autoconf/configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 83d9e71c..4b2fc948 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -223,9 +223,11 @@ if test X"${withval}" = Xdefault; then
    with_runtime=Release
 fi
 
+dnl Before LLVM 2.8, the "optimized with asserts enabled" build was just
+dnl 'Release'; now it's 'Release+Asserts'. See the LLVM 2.8 release notes.
 if !(test $llvm_version_major == 2 &&
-    test $llvm_version_minor -lt 8 &&
-    test "$with_runtime" == "Release"); then
+    test $llvm_version_minor -lt 8) &&
+    test "$with_runtime" == "Release"; then
   with_runtime=Release+Asserts
 fi