diff options
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -5535,7 +5535,7 @@ else fi case "$withval" in - -) clang_src_root="$ac_pwd/tools/clang" ;; + -) clang_src_root="" ;; /* | [A-Za-z]:[\\/]*) clang_src_root="$withval" ;; *) clang_src_root="$ac_pwd/$withval" ;; esac @@ -21095,6 +21095,9 @@ ac_config_files="$ac_config_files llvm.spec" ac_config_files="$ac_config_files docs/doxygen.cfg" +if test ${clang_src_root} = ""; then + clang_src_root="$ac_pwd/tools/clang" +fi if test -f ${clang_src_root}/README.txt; then ac_config_headers="$ac_config_headers ${clang_src_root}/include/clang/Config/config.h" |