fix compiling with llvm 6
@@ -568,14 +568,6 @@ case "$LLVM_VERSION" in
AC_DEFINE([LLVM_5_0], [], "Using LLVM 5.0")
LLVM_OLDER_THAN_6_0=1
LLVM_OLDER_THAN_7=1
- ;;
- 6.0.0svn*)
- AC_DEFINE([LLVM_6_0], [], "Using LLVM 6.0svn")
- LLVM_VERSION=6.0
- LLVM_SHARED_LIB_FILE=$LLVM_LIBDIR/libLLVM-$LLVM_VERSION$LIBRARY_SUFFIX
- LLVM_SHARED_LIB=-lLLVM-$LLVM_VERSION
- LLVM_LDFLAGS="$($llvmConf --ldflags) $LLVM_SHARED_LIB"
- LLVM_OLDER_THAN_7=1
;;
6.0*)
AC_DEFINE([LLVM_6_0], [], "Using LLVM 6.0")
@@ -583,6 +575,7 @@ case "$LLVM_VERSION" in
LLVM_SHARED_LIB_FILE=$LLVM_LIBDIR/libLLVM-$LLVM_VERSION$LIBRARY_SUFFIX
LLVM_SHARED_LIB=-lLLVM-$LLVM_VERSION
LLVM_LDFLAGS="$($llvmConf --ldflags) $LLVM_SHARED_LIB"
+ LLVM_OLDER_THAN_7=1
;;
7*)
AC_DEFINE([LLVM_7_0], [], "Using LLVM 7")
