1m4_include([libclamav/c++/m4/llvm-opts.m4])
2
3if test "x$llvmoptserrmsg" != "x"; then
4    if test "$enable_llvm" = "auto"; then
5        enable_llvm="no"
6    else
7        AC_MSG_ERROR([Failed to configure LLVM, and LLVM was explicitly requested])
8        dnl AC_MSG_ERROR([$llvmoptserrmsg])
9    fi
10fi
11
12if test "$enable_llvm" != "no"; then
13    dnl Try to configure subdir, optionally
14    AC_CONFIG_SUBDIRS_OPTIONAL([libclamav/c++])
15else
16    system_llvm="none"
17    llvm_linking=""
18fi
19